Hello,
Im doing a navigation that highlights the active page but I cant seem to do it for categories or ezpages.
The code I have below is what I use for home, specials, new products pages etc.
<?php
if ($current_page_base == 'specials') { $active = 'tab_active';
} else { $active = '';
}?>
<li id="<?php echo $active;?>"><a href="index.php?main_page=specials">Specials</a></li>
I tried changing the 'specials' to 'cPath#' but nothing happens. I also tried $current_category_id == 'cPath#' but didnt change anything.
Can someone please point me in the right direction.
Thank you
Bookmarks