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.
Calendar page: Taxonomy Legend Colors
Picking colors for individual terms changes the color of the text input field, but does not add the hexadecimal color code to the text field, so when you update, the values are not saved.
Manually typing in the color codes works fine.
Calendar page: Content Type Legend Colors works fine.
Comments
Comment #1
lsommerer CreditAttribution: lsommerer commentedA little more information:
If there is a value in the text fields, then they are updated correctly, so the solution is probably to prepopulate the fields with #ffffff.
Comment #2
KarenS CreditAttribution: KarenS commentedI originally left that out so you could leave it with no stripe without the need to empty them all out, but the color picker is touchy about that and it makes it too hard to use. I seed the values with #fffff in the content type, so I'll so the same with taxonomy.
Comment #4
seanmcginley CreditAttribution: seanmcginley commentedI am having an issue where the calendar stripe color in the calendar legend block will not update when the view is changed. So for example if I am viewing the week and then jump to another week a few months later, or switch to the month view where the taxonmy terms have also changed, the color stripe in the legend block does not reflect the correct taxonomy colors for the terms on the current view. If I immediately run cron.php and refresh the page the problem is solved, but this has to be done each time the view is changed.
One last bit of information. This problem does not effect the admin user or user #1.
Does anyone know how to correct this behavior?
Comment #5
lduerig CreditAttribution: lduerig commentedI am also having a problem with the calendar legend not working correctly if the user isn't logged in. I disabled the block cache in admin->performance, and now it's working properly, but this is not an acceptable solution in my case. If that helps you, great, I'm going to keep digging for another solution.
Comment #6
NickDickinsonWilde6.x is entirely unmaintained.