Event Calendar Categories

tthomas's Avatar


23 Jul, 2013 05:14 PM


We are having issues with Categories in the Event Calendar.

We have modified everything that is stated in the read me file below:

### Categories

Categories allow you to easily group events by a common taxonomy. Categories can be used to color code events on the Full Calendar, create upcoming event listings and even create an Academic Calendar using a term listing page.

*Included Categories:* Campus Events, Academics, Alumni, Holidays, Students

#### Updating Categories

A few modifications are required to update the categories that are used when creating events, listing events by category, viewing categories on the full calendar.

##### Metadata Sets

The *categories* dropdown must be modified within the following Metadata Sets:

* Category Listing
* Event

Note: If a category is removed, category listing pages using the removed category will no longer display events with that category.

#### Data Definition

The **Color Mapping** Data Definition must be updated so the *Category* dropdown reflects the values of those entered within the Metadata Sets above.

#### Color Mapper

In order for the categories to be color coded, the block located at `/calendar-libary/category-colors/category-color-mapping` should be modified so that each Category is given a CSS class and color. This block generates a CSS `<style>` tag at the top of the full calendar and event details pages.

Note: If any category is renamed, existing events and color mappings must be updated to reflect the new category value. The category colors should be in hex or color name format. For example, `#000`, `#a32929` or `green`.

All have been modified, and we can create events with the CMS or our form to webservice API.

That works fine, so editing or viewing an event is displaying the categories, however, when viewing the actual Calendar - just the last on is displayed (Holidays), even though there are events with all 6 categories selected, and 1 event with just one category selected.

The code being generated has the proper colour mappings, but the filter and calendar itself only have events that are matching holidays.


  1. 1 Posted by Ryan Griffith on 23 Jul, 2013 05:26 PM

    Ryan Griffith's Avatar

    Hi Trevor,

    Can you confirm the color mapping Structure Data Block also has all of the categories added to it and that the values within the Category dropdown match the values in your Metadata set? Also, edit your full calendar Page (the one from your screenshot) and make sure you have all of the appropriate categories selected within the Metadata as well.

    Please let me know if you have any questions.


  2. 2 Posted by tthomas on 23 Jul, 2013 05:49 PM

    tthomas's Avatar

    Hi Ryan,

    The problem was the calendar index page itself.

    After ensuring all categories were selected, all categories and events displayed.

    Thanks for your patience and quick response!


  3. tthomas closed this discussion on 23 Jul, 2013 05:49 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac