Colors not working correctly

Created on 21 June 2023, over 1 year ago
Updated 28 June 2023, over 1 year ago

Since my previous issue was marked "closed" and nobody seems to be paying any attention to my further response, I guess I'll have to open a new issue.

There is still a problem somewhere.

In the View settings:

First, I went to the "Colors for Bundle Types" area and set the colors of all the various bundle types.

Then, I went into the "Colors for Taxonomies" section, and I set colors for each of those. I saved everything, went back, cleared the caches, went to a couple of my configured events, set the correct Event Category, saved those updates, again, cleared the caches, and then, went to view my Events Calendar. While the individual events are showing up on the calendar, all events are showing up in the one "Events" bundle type color. This is confusing as I see under the "Colors for Bundle Types" section that it says, "Specify colors for each bundle type. If taxonomy color is specified, this settings would be ignored." which would seem to suggest that if the Taxonomy colors are set, they would override the bundle type setting. So I'm not sure why my "category" colors are not being used.

πŸ› Bug report
Status

Closed: works as designed

Version

5.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States BEGRAFX Laconia, New Hampshire

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @BEGRAFX
  • Status changed to Postponed: needs info over 1 year ago
  • πŸ‡¦πŸ‡ΊAustralia mingsong πŸ‡¦πŸ‡Ί

    According to the source code in line 368 (https://git.drupalcode.org/project/fullcalendar_view/-/blob/5.1.12/src/F...),
    There are two conditions required to get taxonomy colouring works:

    1. The taxonomy field exists in that content type and the colour value is correctly populated for those contents.
    2. The colour settings for the view is set up correctly.

    It seems that you believe you have already set up the view correctly. But from the steps you provided, I can't tell what the field value of those contents.
    This feature was introduced back to years ago, and no change since then. I think it might be the content issue rather than a bug. Otherwise, there would be a lots of people reporting the similar issue, as there are more than 10K sites currently using this module.

    Suggestion:
    A quick trouble shooting steps:

    1. Change the view display format to others, for example list.
    2. Have a look at the field value of that taxonomy field.
    3. If the value hasn't been populated as expected, then it is a content issue.
  • πŸ‡ΊπŸ‡ΈUnited States BEGRAFX Laconia, New Hampshire

    I'm not sure what the issue was. I completely uninstalled the module, removed the view, removed all of the content items related to it, took everything completely back to square one, flushed caches, reinstalled the module, recreated the content nodes, rebuilt the view... I'm not sure what was done differently this time, but the colors are now working.

    Now to try to get Recurring events to work.

  • Status changed to Closed: works as designed over 1 year ago
  • πŸ‡¦πŸ‡ΊAustralia mingsong πŸ‡¦πŸ‡Ί

    I close this as you got it works for you.

    If you have an issue related to recurring events, you can raise another ticket for that.

Production build 0.71.5 2024