Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
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
Comment #1
tim.plunkettMoving to the Colors module.
This isn't possible yet, but it could be.
Comment #2
aspilicious CreditAttribution: aspilicious commentedYes 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.
Comment #3
tim.plunkettCross post.
I think this is possible, we'll see.
Comment #4
aspilicious CreditAttribution: aspilicious commentedYeah, after discussion in irc I agree
Comment #5
wipeout_dude CreditAttribution: wipeout_dude commentedWow, 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..