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’.

Mon, 01/14/2013 - 23:19 by Chris Burge

Redirecting non-WWW traffic (e.g '') to WWW (e.g. '') using IIS 6 requires adding a ‘Site Binding’ and adding a ‘URL Rewrite’.

Why Redirect Traffic to a Single Domain?

Google clearly states in Preferred domain (www or non-www)

[W]e may treat the www and non-www versions of the domain as separate references to separate pages

In other words, if you’re serving up non-www and www versions of your site, then you may be damaging your PageRank. Google allows users to specify a ‘preferred domain’ for indexing with its Webmaster Tools; however, there are still other search engines on the World Wide Web and not all clients user Webmaster Tools. It's important that the redirect is a 301 (permanent) redirect.

Fri, 11/30/2012 - 16:04 by Chris Burge

When you load your Drupal 7 site's 'Status report' page, you may see that 'Upload progress' is 'Not enabled':

Your server is capable of displaying file upload progress, but does not have the required libraries. It is recommended to install the PECL uploadprogress library (preferred) or to install APC.

Why install the PECL uploadprogress library?

When uploading a file to a file field, you are probably accustomed to seeing the default throbber progress indicator:

throbber upload progress indicator

But this is hardly a progress indicator as it doesn't provide any information regarding progress. With the uploadprogress library installed, a more descriptive progress indicator is now available:

progress bar upload progress indicator


Subscribe to Blog