Theming
How to properly add CSS files
This guide covers how to properly add external css files to Drupal. It covers the different ways which should be adopted by: modules, themes and user-created PHP files.
tags: css
tags: css
| Drupal Version | 4.x |
| Category | Theming |
| Difficulty | Intermediate |
| Medium | Text |
Theming Drupal Comments
Few people make the effort the theme the comments, which is strange because comments are
not only a very popular feature, but also exceedingly easy to theme!. For this
comment theming tutorial we're going to spice up the comment template of the
default Garland theme with some additional styling and a date widget
tags: comments,theming
tags: comments,theming
| Drupal Version | All |
| Category | Theming |
| Difficulty | Intermediate |
| Medium | Text |
How to make a fully customised Drupal theme
This guide describes the process of creating a theme for Drupal 6.x. It describes the purpose of each file in the theme and the PHP variable which can be called to create various page elements.
tags: customise,theme variables,theming
tags: customise,theme variables,theming
| Drupal Version | 6.x |
| Category | Theming |
| Difficulty | Intermediate |
| Medium | Text |
Theming a CCK node in Drupal
This guide explains how to theme a CCK node using the node.tpl.php template rather than the Contemplate module. This involves accessing the node variables directly through PHP. The same principle can be used to theme any node type and this is especially useful for customising a Views or Views2 display.
tags: .tpl.php,node,node.tpl.php,theming
tags: .tpl.php,node,node.tpl.php,theming
Customising Drupal's primary and secondary links
This concise guide will show you how to customise the display of your primary and secondary links by using a theme override.
tags: customise,primary links,secondary links,template.php,theme override
tags: customise,primary links,secondary links,template.php,theme override
Naming template (.tpl.php) files
This guide describes how to name template (.tpl.php) files in order to override the Drupal default. For example how to create a custom template for a specific block, user or module.
tags: .tpl.php,naming suggestions,template files,templates,theming
tags: .tpl.php,naming suggestions,template files,templates,theming



