Variable for current category??
I would like to color my navigation tabs based on the category that the user is currently in. Seems like it should be simple enough.
For the life of me I can not find out what variable might contain the integer id of the current root category the user is in.
Looking at code in the forums, I thought perhaps $cat would be the trick, but that always renders 0 for me.
I'm trying to do this from within /customer/top_menu.tpl
Can anyone help??
UPDATE:
Hmm. I still need to test, but I think the problem is that the speedbar doesn't navigate between categories, it's navigating between pages - so I was looking for the wrong data. Let me try again.
__________________
--
JP
|