Add an additional validation function to an existing Drupal form

There are many reasons why you might want to add extra validation rules to a Drupal form. This is a simple tutorial on how to add a validation function to an existing form that is generated from a module that you have not created yourself. It could be in a core or contributed module.

Remove Page Titles from Panels & Views

There maybe times when you want to remove a page title from a page, but leave it as the meta title. By default, Drupal will display the node title in the h1 tag. If you take a look at page.tpl.php, you will see it there.

Drupal base URL for hard coded images on a local environment

Images paths are often incorrect when developing/testing a Drupal website on a local machine.

HTML table row click-able with link

You can not make a table row click-able using HTML alone. By click-able, I mean nesting an entire row inside an anchor tag

Using .htaccess is one of the best ways to redirect a URL to a new URL. Particular care needs to be taken with Drupal sites for it to work correctly.

Drupal link function

The Drupal link function is a handy and easy way to create hyperlinks in your module or theme.

New site structure - thinking out load

There are two essential things that I need to do to Be Fused. One is a complete redesign, because I really dislike the current theme. The second is to change the navigation and category structure.

Find the number of results in a view. Add this snippet to the header or footer of the view, depending on where you want the number of results to be displayed.

Drupal Taxonomy vs Content Type Field

Drupal ships with an incredibly powerful and flexible categorisation system, called Taxonomy. However, many developers and site builders get confused when trying to decide if something should be a taxonomy term or a field in its own right.

To move the contents of a directory to a parent directory, first navigate to the child directory and then run the command snippet below.