Loading...
 
Features / Usability

Features / Usability


How to use categories for coloring in TrackerCalendar

posts: 25 Germany

I am providing a complex calendar based on a tracker with a category field to control access rights and an additional textfield for coloring. I would like to use the category field for coloring to simplify entering new items, but I failed specifying categories in the colormap.

I tried several variants such as
TRACKERCALENDAR (... coloring="calCatField" colormap="41,#FFFF80|42,#44FF80|43,#AAAAAA" ...

Has somebody already succeeded using the correct notation or is there a limitation that categories are not supported for colormaps?

posts: 25 Germany

Bernard,
thank you very much for the quick answer.
Since users have to specify a category, I can only offer them a simplification by removing the extra field for the color and controlling the color via the category. I am already using some CSS in the Look and Feel configuration for header levels, but no idea how to apply a style to a calendar entry depending on its category.
For the parameter colormap I have tried several variants in vain like: Category-id, Category-name, top::parent:category-name, categories(19) etc...
Bernhard


posts: 25 Germany

The domo site with my trackercalendar example is still actice:

[http://bfw-11773-7144.show2.tikiwiki.org/tiki-index.php?page=TrackerCalendar_Demo_01

I added there a new section with
Color by Category name
and an other section with
Color by Category id


posts: 3665 United States

I'm using the colormap option successfully on my tracker calendar at https://keycontent.org

I'm using a regular dropdown selector (not the category field) and simply have the option name and its color:

Copy to clipboard
colormap="United States,#ff5733|Africa,#f6ff33|Asia,#90FF33|...


I would try using only the category name — not the ID or path.

HTH,

- Rick | My Tiki Blog | My Tiki UserPage

Why be a dummy? Get smarty! TikiForSmarties.com
Tiki for Smarties, your source for the best (and only) Tiki books, guides, and tutorials.

Upcoming Events

1)  21 Mar 2024 18:00 GMT-0000
Tiki Roundtable Meeting
2)  25 Mar 2024 17:00 GMT-0000
29th anniversary WikiBirthday (With Ward Cunningham)
3)  18 Apr 2024 18:00 GMT-0000
Tiki Roundtable Meeting
4)  16 May 2024 18:00 GMT-0000
Tiki Roundtable Meeting
5)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
8)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9) 
Tiki birthday
10)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting