I have a list and detail page sorted by 7 categories. Fine all that works.
I've extended this so that each category name has an css class added to give a unique colour in the category list by editing a category template and adding <perch:category id="colour" />. Fine all that works.
The problem is I need to display the active category with it's colour/class inside the perch template on other items used in the detail.php page when it's selected.
Can anyone point me in the right direction to do this?