How to control Module Visability based on Category
I'm running Tiki9.2. Is it possible to control visibility of a module based on the category of the current object?
I would like to use TrackerList plugin in a User Module on wiki pages that is only visible when that wiki page belongs to a certain set of categories.
I thought about doing this with Smarty IF statement bu modifying a .tpl file:
Copy to clipboard
{if isset($objectCategoryIds) and in_array(257, $objectCategoryIds)} show this {/if}
as shown here, but would rather not make these modification if possible.
Is there an easier way to do this? Something like a "category=1:2:3" parameter for the module?