DrupalCorn 2012

Here are my slides from DrupalCorn

read more

Delete CCK Inactive Fields

Inactive fields occur when active fields controlled by a feature are deleted from the feature and the feature is reverted on a database where the fields deleted are currently active. Here's how to delete them.

read more

Delete Nodes From A Certain Date in Drupal

I wrote this snippet to clear out some nodes that I had imported that ended up being duplicates. I thought I would share.

read more

Automated Node Titles Without Auto Node Title

I am a features user and if you are too then you will share my frustration when you find aspects of other modules that are not exportable, i.e. not capable of being packaged in your feature. Such is the case with the Auto Node Title module. However, this is to be expected right? Ctools module provides the api for making things exportable and we should know not every developer will go ahead and implement this in their module. So back to our discovery of the non-exportable. When we get to this point there are several options. One being "don't use the module" and another being "write an exportable". Now auto node title is a common enough module that it might benefit from writing an exportable, but in my opinion that is code bloat where it is not needed. You can accomplish the same thing as auto node title with two Drupal hooks which you can include in the .module file of your feature. Problem solved.

read more

Drupal Camp Iowa Ajax Example

This is the example module I wrote for Drupal Camp Iowa. It demonstrates simple ajax requests inside a Drupal 7 custom module. You can find my slides for the presentation here. Enjoy.

read more

© Balanced Scale Media, LLC. All right reserved.