Is there a way to check the current template and then output a class="current" on archive and category links (instead of regular menu items)?
I tried:
I tried:
- Code: Select all
<cms:folders masterpage='index.php'>
<li>
<a href="<cms:show k_folder_link />" <cms:if k_template_name=='<cms:show k_folder_link />'>class="current"</cms:if>><cms:show k_folder_title /></a>
</li>
</cms:folders>