February 2012
3 posts
Creating custom filters with drupal and views |...
Ah views. Yes, the views module for Drupal is incredibly powerful and combined with CCK has essentially eliminated the need to ever create custom modules for content. While this is a happy thing, sometimes views just doesn’t quite do what you want. And, rather sadly, there is almost no documentation on how to create custom views plugins/styles/filters/etc. Boo. For a recent project, I...
Feb 5th
Creating custom filters with drupal and views
<?php class custom_filters_filter_multiple extends views_handler_filter {     /* this method is used to create the options form for the Views UI when creating a view    * we use the standard drupal form api to return a form array, with the settings    * we want to capture.    */   function options_form(&$form, &$form_state) {     parent::options_form($form, $form_state);     // Step...
Feb 5th
Drupal Entities - Part 3 - Programming Hello...
After way too long a time I finally get back to the series of posts (check out Part I and Part II) on Entities to present the third in the series - how to actually create an entity. Part of the challenge of writing a post like this is that there are so many different aspects to entities that it is really hard to distill things into a single post that gives you something useful at the end. What...
Feb 1st