I am using the FullCalendar module and have changed the colors of two other node types which work just fine. I also have a content type with a field collection using this module http://drupal.org/project/field_collection . They show up in the calendar just fine, but it will not change the color of this specific node type. Any ideas?

Comments

tim.plunkett’s picture

Project: FullCalendar » Colors
Version: 7.x-2.x-dev » 7.x-1.x-dev
Component: FullCalendar Colors » Code
jsheffers’s picture

Any progress on this? I need this for a current client.

tim.plunkett’s picture

Category: bug » feature

The field collection items don't inherently know what node type their parent is associated with. So, that would need to be added.

kreynen’s picture

For CiviCRM Multiday Event I added a custom function to add the term id of the node when the date is part of the a field collection.

http://drupalcode.org/project/civicrm_multiday_event.git/blob/refs/heads...

You still use Colors to assign the color to the taxonomy.

Since field collections are really just a type of entity, this is related to #1710326: Colors based on entity_reference.