Hi,

I know its possible to colour items on the calendar based on taxonomy but I have a select list on a particular content type that I would like to use for the colours..

So in other words if the options in the select list were North, South, East and West I would like the calendar entries to be coloured red, blue, green and yellow based on the selected option saved on the node..

Is this possible?

Thanks

Comments

tim.plunkett’s picture

Title: Colouring select list items. » Add support for fields with allowed values
Project: FullCalendar » Colors
Version: 7.x-2.0-beta3 » 7.x-1.x-dev
Category: support » feature

Moving to the Colors module.
This isn't possible yet, but it could be.

aspilicious’s picture

Title: Add support for fields with allowed values » Colouring select list items.
Project: Colors » FullCalendar
Version: 7.x-1.x-dev » 7.x-2.0-beta3
Category: feature » support

Yes and no...

Yes: technically it is possible but it will be a custom module based on these hooks/plugins: http://drupalcode.org/project/colors.git/blob/refs/heads/7.x-1.x:/colors...

No: it wont be an option in the GUI by default, as this is code/configuration specific.

tim.plunkett’s picture

Title: Colouring select list items. » Add support for fields with allowed values
Project: FullCalendar » Colors
Version: 7.x-2.0-beta3 » 7.x-1.x-dev
Category: support » feature

Cross post.

I think this is possible, we'll see.

aspilicious’s picture

Yeah, after discussion in irc I agree

wipeout_dude’s picture

Wow, quick replies.. :)

I am no coder so chances are I wouldn't be able to easily get it working using the hooks..

If it was something you could get to work, especially from a GUI, it would be very useful.. Currently I am having to create taxonomy vocabularies for certain things purely to have the ability to colour them in a calendar view.. These vocabularies will only ever be used on one content type so don't really need to be taxonomy at all.. Also they are not exportable in features which is painful..