Skip to main content
[2015-09-21]

Using Features Override to manage changes to a distribution

#drupal #features

The Features module has become a de facto tool in configuration management in Drupal 7. In fact, most Drupal distributions now utilize Features to export configuration and handle updates to the configuration. There is one pitfall - Features was  meant to be a way to export a feature set.

[2015-07-18]

Drupal Commerce, Deconstructed

Recently I presented at the Drupal 414 user group in Milwaukee on "Drupal Commerce, Deconstructed" to break down what makes Drupal Commerce and better explain some of its inner workings. The goal isn't to blow the minds of advanced users, but to sell it to all on its flexibility and help users understand why certain things are how they are.

[2015-06-28]

Fixing "UpdaterException: Unable to determine the type of the source directory"

#drupal

I don't use the built in update functionality provided by the Update module for updating code. I like to use it for reminders and push back statistics of modules used for Drupal.org. However, someone people do use it. Sometimes this piece of functionality can fail and throw an interesting message which doesn't seem to have many answers despite the best Google-fu.

[2015-06-25]

Commerce entity's and storing arbitrary data

#drupal-commerce #drupal

Drupal Commerce entities all make use of the "data" attribute. The data attribute is a blob that contain just about anything you would like - for example, Commerce Shipping utilizes this for shipping line items.

[2015-03-01]

Role Provisioner: Drupal 7 role and permission management

#drupal

If there's one thing we've all grown to encounter in Drupal it has, and probably will always be, configuration management. Drupal 8 is looking to solve a lot of that. However a lot of us don't live in the Drupal 8 world and can't sit and wait for that "magical" day.

[2014-11-27]

Programmatically change the "Add to Cart" line item type

#drupal-commerce
Drupal Commerce has a very interesting "Add to Cart" form. The add to cart form is a field formatter for the product reference field (or even entityreference field.) In a general sense, a node has a product reference field using the "Add to Cart" formatter. What makes it more unique is that this form exposes certain fields from the product entities, but also the line item type being used.
[2014-07-31]

MySQL Workbench + Vagrant

#vagrant #mysql

I've been using Vagrant at work for a few months now - and I got into it specifically for mimicking our production environment. If you don't know about Vagrant, I highly suggest you check it out. I recently purchased an iMac and I'm utilizing Vagrant VMs for all development.

[2014-06-12]

Keep Calm and Clear Cache

#drupal262 #drupal
Drupal is great at a lot of things, one of those being the feeling of your head banging against the wall. Drupal can lead to some headaches when things just do not work right. Troubleshooting and debugging in Drupal doesn't have to be difficult, however. Yet, for some reason, every article I've ever found goes in too deep.