Jump to content

Add unique ID number to category block list


Recommended Posts

  • 3 months later...

Dunno for what its worth anymore..

 

edit the category-tree-branch.tpl

 

change the first li

 

from:

<li {if isset($last) && $last == 'true'}class="last"{/if}>

 

to:

<li id="{$node.name|escape:html:'UTF-8'}" {if isset($last) && $last == 'true'}class="last"{/if}>

 

the category name will then be assigned to the li as a unique ID.

 

Please set this as resolved..

Link to comment
Share on other sites

×
×
  • Create New...