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

binford2k’s picture

Title: Possible to add Organic Groups to Legend? » Possible to add other fields to Legend?
Category: support » feature

I'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.

binford2k’s picture

Priority: Normal » Minor

Ignore 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.

jgoodwill01’s picture

I would love to have the option to add a legend based on a CCK field.

+1 Subscribing

guygg’s picture

Yes, 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.

pdcarto’s picture

Regarding #2:
So what setting exposes the content taxonomy to the built in legend?

binford2k’s picture

In 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.

garg’s picture

I 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

Nchase’s picture

would be cool to have the users as legend..

Nchase’s picture

+1

for the beginning it would be nice if the terms in the legend would link to the according term

Azol’s picture

subscribing

johnv’s picture

Adding new legends in the new 7.3 branch it pretty easy.
see #1392306: Code cleanup for striping

Neslee Canil Pinto’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

The 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.