I recently needed to add custom functionality to a Views filter on a Drupal 7 site, but ran into problems when I tried to hook into the views rendering process to update the options for an exposed filter. The new options needed to be updated whenever a new item was added, but this filter happened to use a select list with manually specified options. At first I thought I could use a simple form alter to update the filter options, and while the options were updated they did not properly map back into the View results. The new options were useless!
August 09, 2016
May 27, 2016
Whether you work on one Drupal site or multiple, it is often necessary for your local dev environment to be slightly different from your site's server. Perhaps you need to disable Secure Pages because you don't want to set up SSL on your local environment, or there are modules specific to your website's server config. If you work on multiple si
May 09, 2016
Apparently I am lucky, having gone through years of Drupal developement without encountering a corrupted database registry. If you encounter a “Failed opening required … “ error then it is possible you've run into the same issue. (click here if your site is on Drupal 8). Here's the full error message I received:
March 21, 2016
So you've been hearing about the new and improved Drupal and you'd like to join in the fun? No problem! Whether you're building a new site or have an existing one on Drupal 6 or 7, you can get up and running with Drupal 8. The D8 ecosystem is already quite robust, with a few nice additions to core such as CKEditor and Views.
March 21, 2016
If you run into problems using Drush with Drupal 8 you probably need to upgrade Drush. I received this message - Error: Class 'Drupal\Core\Session\AccountInterface' not found, and found the instructions from http://docs.drush.org/en/master/install-alternative/ and http://docs.drush.org/en/master/install helpful. Upgrading Drush 1. Install Composer globally
November 19, 2014
There are generally two reasons you need more information on debugging. Either your site has gone haywire with error messages and WSOD (white screens of death), or you have mustered the courage to take a peek behind the magic curtain that makes Drupal so powerful and you are looking for the right tools. I will cover four topics: Finding and applying patches Searching error logs DPM or KPR to view the underlying data structure
January 29, 2014
How I customized my Drupal Slideshow So a client wants a slideshow. No problem! Oh, they want full WYSIWYG for the captions. No problem. What about an option to let a user grab embed code? Easy. It must be responsive, full screen option, attach to nodes, hide and show captions, add branding logo, and make sure you can attach AND embed on the same page. Sure, done deal. Right?