Forums / Templates, Stylesheets, Page Layout / Adding category links (w/zenid param) to top navbar

Adding category links (w/zenid param) to top navbar

Locked

Views: 841

Results 1 to 1 of 1
This thread is locked. New replies are disabled.
6 Oct 2008, 6:45 PM
#1
ygagnon avatar

ygagnon

New Zenner

Join Date:
Oct 2008
Posts:
1
Plugin Contributions:
0

Adding category links (w/zenid param) to top navbar

I'm developing a site using zencart, and have begun doing the preliminary template customization.

http://www.sutrafitadventures.com/

What I'd like to do is add a link for the 1 category that I've created -- "Vacation Pacakges" -- to the top navbar - while retaining the "zenid" parameter that gets conditionally appended to every link off the the homepage.

Currently, .. I've hardcoded it in the the page, which means that the Vacation Packages link excludes the zenid parameter.

What kind of php code would I need to replace my hardcoded category link with in the file named "tpl_header.php" so that I can instead have a dynamically generated list of category links (each with a proper zenid parameter conditionally appended to it)?

Thanks in advance,

  • Yvan