Implementing color.module in your theme

Last modified: November 15, 2008 - 08:18

Enabling

In /themes/THEMENAME/THEMENAME.info. Add this line:

color = TRUE

Done.

Configuring

The hook (hook_color) for the color module is to be stored in template.php.

THEMENAME_color()

It returns an array of variables identical to what color.inc used to have. For examples you can see our Stylesheets page

Troubleshooting

 
 

Drupal is a registered trademark of Dries Buytaert.