Community Documentation

Implementing color.module in your theme

Last updated November 15, 2008. Created by skiquel on August 29, 2008.
Log in to edit this page.

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

Page status

No known problems

Log in to edit this page

About this page

Drupal version
Drupal 6.x

Develop for Drupal

Drupal’s online documentation is © 2000-2012 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution-ShareAlike 2.0. PHP code is distributed under the GNU General Public License.
nobody click here