Theming

How to properly add CSS files

  Overview:

No votes yet
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
Drupal Version4.x
CategoryTheming
DifficultyIntermediate
MediumText

Theming Drupal Comments

  Overview:

No votes yet
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
Drupal VersionAll
CategoryTheming
DifficultyIntermediate
MediumText

How to make a fully customised Drupal theme

  Overview:

Average: 5 (1 vote)
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
Drupal Version6.x
CategoryTheming
DifficultyIntermediate
MediumText

Theming a CCK node in Drupal

  Overview:

Average: 5 (1 vote)
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
Drupal Version5.x
CategoryTheming
ModuleCCK
DifficultyAdvanced
MediumText

Inserting blocks into content i.e. pages, blogs, entries etc...

  Overview:

Average: 3 (3 votes)
This guide describes how to display content in a block using PHP. This may be useful if you want to stack snippets of content each contained in their own block. This tutorial does require some familiarity with SQL and PHP.

tags: blocks
Drupal Version5.x
CategoryTheming
DifficultyAdvanced
MediumText

Customising Drupal's primary and secondary links

  Overview:

Average: 5 (1 vote)
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
Drupal Version5.x
CategoryTheming
ModuleOther
DifficultyAdvanced
MediumText

Naming template (.tpl.php) files

  Overview:

Average: 3.7 (3 votes)
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
Drupal Version6.x
CategoryTheming
DifficultyAdvanced
MediumText
Syndicate content