This project is not covered by Drupal’s security advisory policy.

Node Color / node_color

Sorry for the vague module description and bare bones code.
A couple of people at Drupalcon Boston wanted me to push it out so they could use it on their sites while i finish it.

I'll update the code/screenshot and description shortly.

Mainly right now you can set a color in the content type edit page and in the edit term page for taxonomy. Then in your theme you can use the exposed function to set a background color or anything else you need with that color. The example given in the readme allows you to over ride the month view of the event calendar and assign colors to the taxonomy or content types. A bug/feature in the event module i'm putting an issue in for is that taxonomy doesn't work currently for multi day.

An example can be seen here : http://cmes.hmdc.harvard.edu/event

if you click the "color key" link it displays a popup with the taxonomy list and their associated color.

There will be more documentation,examples,features to come soon.

-------------------------------------

Node Color is a helper module that allows themers and developers to assign colors used to display nodes on their site

What it currently does:
Allows assigning color by Taxonomy
Allows assigning color by Content Type
Displays assigned color on the event calendar
Exposes node_color_get_color($node) which gets the color

To Do :
Allows assigning color by Individual Node
Allows other modules to expose ways of assigning color.
Weight ways to assign color
use color picker for choosing color

Node is in its very early stages, but wanted to get it out there for others to use and help expand with feature ideas

Project information

Releases