Drupal 7 Tutorials

Drupal tutorials, how to articles, and customization to various modules that I use regularly.

Drupal AMP Throwing a 500 Error with the ?amp on the URL

Published Oct 27, 2017
I encountered an issue attempting to setup a Drupal site with AMP, when adding the ?amp to the...

Drupal 7 PHP To only Show Block on User's Own Profile Page

Published Mar 06, 2017
This will also show on the person's user/12345/edit page when they are editing their user...

Drupal 7.34 - Fixed Imagecache Autorotate Issue with PHP 5.63

Published Mar 04, 2017
This is a hack and slash fix for auto rotating images in Drupal 7 with newer php 5.6x. It...

Fix Double Encoded %20 in Drupal Apache Solr Search

Published Feb 28, 2017
This is difficult to troubleshoot because there are a variety of patches aimed at fixing this...

Remove H1 Title from Apache Solr Search Results

Published Feb 28, 2017
On "Edit Search Page" in Apache Solr Search you can set the page title to %terms or...

Noindex Pager URLs in Drupal 7

Published Feb 08, 2017
I required a way to noindex search results in Drupal 7 using Apache Solr but this method...

Drupal 7 Add nofollow to Views Pager Links

Published Apr 18, 2016
SEO Reason for using nofollow on Pager Links This is a core hack for Drupal 7 to add rel="...

Drupal Demo Point of Sale Software

Published Jan 25, 2016
One of the latest projects is a fully web based Point of Sale (POS) program that runs from any...

Drupal 7 Module to add Rel Next and Prev Pagination

Published Nov 14, 2015
Paginatey is an unofficial custom Drupal 7 module that I slapped together using code in the...

Large Images >3mb Fatal error - Out of memory on save

Published Apr 21, 2013
Setup VPS Dual Core, 4GB Ram CENTOS 5.9 x86_64 with access to WHM 11.36.0 (build 21) Drupal 6....

How to implement Schema.org on Drupal 6 using Views

Published Mar 29, 2013
So I refuse to let go of Drupal 6 and was determined to figure out how to implement schema.org...

Drupal 6 - Remove Login or register to post comments from Anonymous and maintain CSS for Link List

Published Mar 22, 2013
Sorry for the long title, but I was trying to get rid of these comment links for anonymous...

Upload Drupal to your web hosting using FTP

Published Nov 26, 2012
In the screenshot you will see the Drupal 6 files and folders that would be uploaded to your...

Building a Drupal Website Overview from Start to Finish

Published Nov 26, 2012
Recap - Billboard, Detailed CMS, Interactive CMS. We are going to setup a "Detailed CMS site...

Interactive CMS

Published Nov 19, 2012
Cost: Medium to HighSkill Level: Intermediate to ExpertTime Investment: Very HighTarget Market...

Detailed CMS

Published Nov 19, 2012
Cost: LowSkill Level: IntermediateTime Investment: MediumTarget Market: Existing Customers and...

Remove Drupal RSS Feed Icon from front page

Published Jul 19, 2012
To get rid of the RSS subscribe button on the front page of your Drupal site, remove the...

Display Taxonomy Description in Views Drupal 6

Published Jun 28, 2012
These are 2 snippets that apparently do the same thing, I can verify the first chunk works...

Drupal 6 Cron.php not running - aggregator not updating

Published Apr 04, 2012
Version: Drupal 6.22 For whatever reason Cron will stop working occasionally on a site. The...

Pull values from Drupal User Profile to CCK fields

Published Feb 04, 2012
Surprisingly hard to find, certain snippets floating around on the web do not work for...

Privacy conditions for Drupal Custom Profile Fields

Published Feb 03, 2012
On a recent project we wanted to give users the ability to enter information but then have...

Drupal 6 - Only show block on specific node type

Published Jan 12, 2012
There are times where you want to hide Drupal blocks from certain pages but occasionally you...

301 Redirect Rule from Clean URL to another clean URL in IIS

Published Nov 05, 2011
If you are trying to setup Clean URLs in Drupal with IIS and Isapi go to Clean URLs IIRF...

Drupal cck Imagefield Float Right

Published Aug 11, 2011
Here is how you can change your css file (likely your style.css file in the theme folder) to...

Drupal random banner with optional path based image

Published Aug 06, 2011
We had one customer that required a randomized banner but also had specific drupal pages where...

Clean URLs IIRF Settings with IIS for Drupal

Published Aug 02, 2011
Non-www canonical url using Drupal 6 with IIS and IIRF installed. (Using Drupal 6.22) Tested...