Wed, 10/01/2014 - 10:37 by Chris Burge
Your mobile-unfriendly website could be costing you revenue. Take advantage of responsive web design, native content, responsive images, HTML5 video, and an optimized payload to make your website mobile friendly.
Mon, 09/22/2014 - 09:31 by Chris Burge

The 'Go back to the form' link that the Drupal Webform module prints at the bottom of confirmation messages isn't always desirable, especially in the case of forms submitted by ajax using the Webform Ajax module.

Webform Confirmation Return Link

On a recent project, the client desired to remove the 'Go back to the form' link, but only on ajax-enabled forms, something which can be achieved in the theme layer.

Thu, 02/14/2013 - 20:57 by Chris Burge

Drush can be used to run Feeds import jobs on Drupal cron when setting 'Periodic import' doesn't run the import.

While Feeds is an awesome Drupal module for importing data, it doesn't always work as advertised. One such shortcoming is running imports on cron.

Mon, 02/11/2013 - 20:51 by Chris Burge
Add meta tags to views in Drupal by using the 'Views PHP' module and the drupal_add_html_head function. Meta Tags is an excellent Drupal module for managing meta tags, however, it doesn't yet allow adding meta tags to views. There is an open issue on this topic: While code had been offered in the form of a patch, it still has some issues.
Thu, 01/31/2013 - 20:43 by Chris Burge

One of the challenges of migrating content into a new Drupal site is the formatting that comes along with copied text, whether it comes from existing HTML or from a Word document.

The solution is to strip all formatting during pasting. It may take a little extra effort to reformat content in the WYSIWYG editor; however, the errant formatting is eliminated.

Force Plain Text Paste in CKEditor with Drupal WYSIWYG by using WYSIWYG’s ‘hook_wysiwyg_editor_settings_alter’ hook and CKEditor’s ‘forcePasteAsPlainText setting’.


Subscribe to Blog