Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Is it possible to color code items in a Calendar by Organic Group, similar to how they can be color coded by Taxonomy/Vocabulary?
Comments
Comment #1
binford2k CreditAttribution: binford2k commentedI'm expanding the scope of this bug. I have a CCK field that I would like to show up in the legend. What is involved in doing this?
Specifics: I have some Content Taxonomy fields that I would like to be highlighted by term in the selected taxonomy.
I've faked it by rewriting the output to something like
<span class="[field_on_call_value]">[field_on_call_value]</span>
, a bunch of CSS and a handmade legend. It would be nice to have it built in.Comment #2
binford2k CreditAttribution: binford2k commentedIgnore the part about Content Taxonomy. I discovered a setting that exposes it to the built in legend. Nevertheless, the underlying issue remains, that it would be nice to expose other fields to the legend.
Comment #3
jgoodwill01 CreditAttribution: jgoodwill01 commentedI would love to have the option to add a legend based on a CCK field.
+1 Subscribing
Comment #4
guygg CreditAttribution: guygg commentedYes, this capability would be a HUGE favor. For one example, I've got an "Event" content type and a "Site" content type (for physical locations - aka: branch offices). Each event has a node reference to which site(s) it applies (it can be multi-value). Being able to color code/legend it based on which site(s) the event applies to would be most excellent.
Comment #5
pdcarto CreditAttribution: pdcarto commentedRegarding #2:
So what setting exposes the content taxonomy to the built in legend?
Comment #6
binford2k CreditAttribution: binford2k commentedIn the content taxonomy field's global setting, there's an option labeled
Save values additionally to the core taxonomy system (into the 'term_node' table).
If you set that, then you can use the calendar's built in legend settings.
Comment #7
garg CreditAttribution: garg commentedI have a node reference to a different content type. It would be great if I could use that node reference field as the legend. Thanks
Comment #8
Nchase CreditAttribution: Nchase commentedwould be cool to have the users as legend..
Comment #9
Nchase CreditAttribution: Nchase commented+1
for the beginning it would be nice if the terms in the legend would link to the according term
Comment #10
Azol CreditAttribution: Azol commentedsubscribing
Comment #11
johnvAdding new legends in the new 7.3 branch it pretty easy.
see #1392306: Code cleanup for striping
Comment #12
Neslee Canil PintoThe D6 branch is no longer supported so we're closing this issue. If you think this issue still exists in D7 you can open a new one.