Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
This may be difficult to implement, but it would be wonderful if you could color-code items on the timeline based on taxonomy. In addition, different content types could be represented with different colors (based simply on node-type-- this could already be in place but I didn't see documentation for it). Maybe these options could be configured separately within the settings for each timeline.
Comment | File | Size | Author |
---|---|---|---|
#3 | timeline_colors.patch.txt | 6.67 KB | recidive |
Comments
Comment #1
Arto CreditAttribution: Arto commentedChad, this could indeed be a useful feature. Unfortunately, I don't personally have the possibility to tackle it in the foreseeable future - perhaps one of the other developers could be interested? Leaving this open, patches welcome.
Note that it could make sense to implement #104890 and this at the same time, given that different content types might be represented by different icons.
Comment #2
JohnG-1 CreditAttribution: JohnG-1 commented+1 good idea
Comment #3
recidive CreditAttribution: recidive commentedI've roughed a patch that implements this feature. The patch is kinda hackish and needs improvement.
To test this you need to:
Currently colors are limited to 16.
Ideas to improve the patch are welcome :)
Comment #4
Robert Castelo CreditAttribution: Robert Castelo commentedI've tested the patch by recidive and it works well. Very, very useful feature - recommend to commit it as soon as possible.
Comment #5
spython CreditAttribution: spython commentedThis is great!
Does somebody know how to use different bullets for "instant" events? I want them to look similar to events with different start/end date.
Comment #6
bomarmonk CreditAttribution: bomarmonk commentedAny chance of getting this committed? This looks great. Any problems with the patch?
Comment #7
caillou CreditAttribution: caillou commentedThank you for the patch. It works well for me !
Is it possible to attach one color with one term, and then make a legend ?
Comment #8
spython CreditAttribution: spython commentedWould be nice if someone could implement the same functionality for drupal 6 version.
Comment #9
emersonlenon CreditAttribution: emersonlenon commentedThe calendar module for views does this color coding and legend thing already, may be that would provide an easy method?
Comment #10
xamanu CreditAttribution: xamanu commentedThis feature has been added to the 2.x version of the timeline module by using views "group by" option.