Drupal

Print Hello World In A Drupal 7x Module

Drupal 7x module development
Date: 
Mon, 06/02/2012

This tutorial shows a simple first steps of setting up a Druapl 7x module, if you have ever created Druapl 6x modules this is a useful start to show the differences in creating the files.Read more

A Safe Procedure For Upgrading Drupal In A Production Environment

International Development Blog Image
Date: 
Tue, 17/01/2012

This general process for an upgrading can be used for security updates to Drupal core, upgrading contributed or customer modules, or migrating theming and other changes from a development or test environment to a production environment.Read more

Drupal Cron Failed How? To Remove A Database cron_semaphore In phpMyAdmin

A Database cron_semaphore
Date: 
Mon, 14/11/2011

If you getting errors like the one below then you will likely need to find the source of the issue and then use the SQL queries to remove it.

Cron Failed Attempting to re-run cron while it is already running. Read more

Views 2 Taxonomy Term Jump Menu

Views Jump menu
Date: 
Wed, 12/10/2011

I thought it would be useful for me to put this down for others and my self to use as reference. The point of this is to create a jump menu to pick a taxonomy term from a drop down list to jump to the category. This can be used in a number of ways but for the purpose of this we are jumping to the taxonomy url. Read more

Changing the Search form in Drupal 6.0

preprocess_search_block_form
Date: 
Mon, 03/10/2011

To override the search form in Drupal 6 you need insert the code below and edit the PHP Template file in your theme.

You will need to change the YOUR_SITE_NAME for the preprocess and the image file path.

function YOUR_SITE_NAME_preprocess_search_block_form(&$vars, $hook) {
// Modify elements of the search form
unset($vars['form']['search_block_form']['#title']);
Read more

Drupal 7 is a launched! This is exciting

Drupal 7
Date: 
Wed, 05/01/2011

With the release today of Drupal 7 it has given me time to reflect on how far things have come and changed, I have been lucky to be part of the Drupal Community for many years now since Drupal 4. So much has changed with in Drupal it self complex processes have become easier to create for clients, which in times past have meant a lot of development to get your desired results.Read more

How to create a CCK image field as a DIV background

CCK drupal snippet
Date: 
Thu, 25/11/2010

Below is a Php snippet for displaying the contents of a CCK image field as a DIV background in a Drupal node.tpl.php file:Read more

Php snippet to display a user name

username drupal
Date: 
Mon, 22/11/2010

A lot of people ask me how to display a user name in a page or a block in Drupal. Its pretty handy and I am adding it here for my own reference as well as yours.

Simply enable the PHP filter on your body field you will need to do this by going to your modules page and enabling the PHP filter under core, this as it says allows embedded PHP code/snippets to be evaluated.Read more

Syndicate content