Hello Zenner peeps
I want to put a home link in the categories box and am asking if anyone has an idea of the best way to do it before I start hacking away at the code![]()
Hello Zenner peeps
I want to put a home link in the categories box and am asking if anyone has an idea of the best way to do it before I start hacking away at the code![]()
Only a fool say's money doesn't matter. No rich man ever starved to death.
Using your templates and overrides ...
You can edit the template file for the categories sidebox and use:
You will most likely need to adjust that depending on where you add it in the categories sidebox ...Code:$content .= '<a class="category-links" href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . HEADER_TITLE_CATALOG . '</a>' . "\n";
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
If you use Categories Dressing from Free Addons, you can define a "heading" to appear above any desired category and contain the link code. You can style this "heading" in any way you want.;PHP Code:define ('CAT_BOX_HEADING_#','0|0||<a class="category-links" href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . HEADER_TITLE_CATALOG . '</a>|1');
Last edited by gjh42; 18 Apr 2010 at 05:15 PM.
Thanks for that![]()
Only a fool say's money doesn't matter. No rich man ever starved to death.