Posts Tagged ‘drupal’

Drupal – Getting the image path of a CCK field

By David Pratt / Tags: / 12 Comments » / Published: 26-01-10

An explanation about how to use the internal Drupal function field_file_load() to get the path of an image that is stored in a CCK field.

Removing unwanted stylesheets from Drupal

By David Pratt / Tags: , / 3 Comments » / Published: 16-12-09

A way of stripping unwanted stylesheets out of a Drupal site by using a preprocess function in the template.php file.

How to get the path of a node from the node ID in Drupal

By David Pratt / Tags: , / 11 Comments » / Published: 03-12-09

If you have a node that you know the node ID for, but you don’t know what the full clean url is (or how to generate it), then you need to know about the rupal_lookup_path() function.

Meta keywords and descriptions in Drupal

By David Pratt / Tags: , / 1 Comment » / Published: 21-08-09

A function that utilises the internal Drupal functions drupal_set_title() and drupal_set_html_head() to set the meta tags of a webpage.

Drupal – Importing into CCK fields with checkboxes

By David Pratt / Tags: / 1 Comment » / Published: 08-08-09

If you are using the node import module, then you will need to apply a patch if you want to import CCK fields with checkboxes.