Show category alias for css class
Posted: 17 Apr 2012, 09:19
Can someone tell me what code I can use to display the top level category alias as a css class on a photo details page (non pup-up view of the large image).
So if I have a category with photos called Portfolio > Animals, I want to know how to get the alias for Portfolio, i.e. portfolio and be able to assign that value to a css class, e.g.
Thanks
GW
So if I have a category with photos called Portfolio > Animals, I want to know how to get the alias for Portfolio, i.e. portfolio and be able to assign that value to a css class, e.g.
Code: Select all
<div id="phocagallery" class="pg-detail-view portfolio">GW