I'm trying to set a li class to active if the folder name is equal to the current folder that we're in
- Code: Select all
<cms:folders masterpage='products.php'>
<li class="<cms:if k_folder_name='<cms:show k_folder_name />'>active</cms:if>"><a href="<cms:show k_folder_link />" class="links">
<cms:show k_folder_title />
</a></li>
</cms:folders>