Closed (outdated)
Project:
FullCalendar
Version:
7.x-2.0-beta3
Component:
FullCalendar Legend
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 May 2012 at 18:06 UTC
Updated:
4 Jun 2025 at 19:45 UTC
Jump to comment: Most recent
Comments
Comment #1
priti197 commentedI am facing the same problem.
Due to underscores in classes for content types, color code is not getting applied for legend block.
Please help.
Thanks
Comment #2
priti197 commentedI have found a fix for time being.
In fullcalendar/fullcalendar_legend/theme/theme.inc
Change line 73:
From
$entity->bundle = $entity->type = $type['bundle'];
To
$entity->bundle = $entity->type = str_replace('_', '-', $type['bundle']);
Hope that helps!
Comment #3
huizache commentedThis is still a problem thank you pritimhjn #2 solution does work.
Comment #4
dcam commentedI've volunteered to help clean up the FullCalendar issue queue. As part of that effort I'm closing issues open for unsupported versions of the module as "Closed (outdated)". That includes any Drupal 7-compatible versions because no active maintainer is supporting them.
If this issue is still relevant for version 3.x of FullCalendar, then feel free to re-open it and update the issue version number.