Now, updated for Tiki 8!
Now accepting new user registrations! Become a contributor.
Customizing by Category
In addition to customizing per page, you can also use customized styles for specific categories.![]() | Tip: Learn about category basics in Using Categories |
To allow Tiki to use category information and IDs in templates and styles, you must first enable the Categories used in templates option on the Admin: Categories page:
Using the same process as before, you can create an {if} statement to check for a specific category ID. For example, to check if the current object is in category 2, you could use:
{if in_array(2, $objectCategoryIds)}
...
{/if}
Contributors to this page: Rick Sapir
.
Page last modified on Saturday, July 03, 2010 02:35:26pm EDT by Rick Sapir.
The content on this page is licensed under the terms of the Copyright Information.
Sidebar
What do you think?
What do you think of this project?
"Very useful and [well] organized..."
Is Essentials helpful?


