Drupal Knowledgebase

Theme Developer module

This module which is part of the Devel module in Drupal 6, makes theming a great deal easier. It makes it quick to find out what selector in what stylesheet, or what .tpl file, or what function, is controlling the output - so that you can make changes directly.

Enable the block, and you will see a grey box, 'Themer Info', in the bottom left of your screen. Click on it to enable the Theme Developer tool which allows you to click on any element on your page and see information about what is outputting it.

Forcing a refresh of a stylesheet

In Drupal 6, if you add '?R' (without the parentheses) after the stylesheet name (e.g. style.css?R) in the theme.info file, the browser is forced to refresh the stylesheet rather than using the one in cache.

whydrupal.com has good resources

A few good articles at http://www.whydrupal.com/

CCK Field Permissions Group/Fieldset not hiding

If a whole group (fieldset) is marked to be hidden by CCK Field Permissions, the group is not hidden. To get it to work you either have to patch, or change the weight of the cck_field_perms module to 10 or more in the [system] table. See http://drupal.org/node/169351 for explanations

Article on building of a website

Very good overview of how the Tampa Bay Indymedia site was built in Drupal


How to include the user login block inside another block


Captions for images

The Image Caption module may be useful to us: http://drupal.org/project/image_caption

Tutorial on creating dynamic image gallery

Excellent tutorial showing how to use the Thickbox module to pop up images in your gallery.


Upgrading to Drupal 6



Notify module

Notify module is a powerful way to subscribe users to periodic emails which include all new or revised content and/or comments much like the daily news letters sent by some websites. Even if this feature is not configured for normal site users, it can be a useful feature for an administrator of a site to monitor new content submissions and comment posts.


Membership types and registration modification

This module adds the ability to have several different membership types, each collecting different data from the user for registration.


Content Type Administration by Organic Group

Interesting module that by useful for us: it limits which content types may be created in organic groups.


CCK Nodereference

Useful webcast:


Imagefield and Imagcache

Useful screencast on these two modules:


Theming the log in form

Article on how to make the log in form look good: http://www.nicklewis.org/node/845

Real names instead of usernames

As we will need to display real names instead of usernames in many parts of the new site, this thread may be useful:


SEO Checklist Module

Here is a great module for search engine optimization.


 ... the module's config checklist as follows: