Active Tabs in Top Nav

Hi guys,

I’m using version 1.3.5, and I’m editing the customer/top_quick_links.tpl file.

I’d like to add “class=active” to the active page. Does anyone have any pointers on how to accomplish this?

Every where I’ve seen, I’d have to manually input the pages ID. But if there is a way, to have CS-Cart know which page I’m on, and add the active class, that would be sweet.

{foreach from=$top_links item=“link”}



I’ve been messing around with all sorts of different ideas, and have yet to come up with a solution. Thanks for any help. :slight_smile: