Skip to content
Daggerhart Lab Blog
Enter Search Term
This plugin provides a user interface for creating WordPress queries (WP_Query), and determining how they will appear. Each query is available as a WordPress widget and a shortcode for easy implementation.
A Very Introduction to Drupal’s hook_form_alter()
Very basic example of a drupal module that works in both Drupal 6 and Drupal 7.
Ajax Comment Pagination & Overriding Default Views as a Feature
This post describes generally how to create ajax paging comments, how to package the created comments into a feature, and how to override default views created by modules.
How to modify a new Drupal 6 user programmatically
There are many things you may want to do to a new user on your Drupal website. You may want to apply a new role, require approval, or even programmatically create node with the new user as the author.
Custom caching in your Drupal module
Recently I needed to implement caching for a custom Drupal module. I needed my module to cache exactly every 30 minutes on the hour and half-hour.