Loading...
 
Themes

Themes


Adding custom css classess to topBar menus based on category

I'd like to know how this can be done. The point is to have different look on the topbar menu items when you are inside that category. Adding conditionals doesn't seem to do anything

smarty
Copy to clipboard
if isset($objectsCategoryId in_array(<catId> ,$objectsCategoryId)}


based on this idea.

smarty
Copy to clipboard
{if !empty($objectCategoryIds)} NOT categorized {else} AM categorized {/if}


One solution could be doing separate menus for each category and then using them only in that category, but that seems bit repetative solution and moderators would get confused with tens of similar menus.

There are no comments at this time.

Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting