View Single Post
  #9  
Old January 8th, 2011, 08:25 PM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

This ought to work:
Code:
[category.list before='<ul class="level<?php echo $depth; ?>">' after='</ul>']
    
  [category.if active='self']
    <li class="active">
      <a href="[category.link]" title="[category.name]">[category.name]</a>
      [category.repeat]
    </li>
  [/category.if]
  
  [category.if active='child']
    <li>
      <a href="[category.link]" title="[category.name]">[category.name]</a>  
      [category.repeat]
    </li>
  [/category.if]
  
  [category.if active='parent']
    <li>
      <a href="[category.link]" title="[category.name]">[category.name]</a>  
    </li>
  [/category.if]
  
  [category.if active='no']
    <li>
      <a href="[category.link]" title="[category.name]">[category.name]</a>
    </li>
  [/category.if]
    
[/category.list]​