New Zenner
- Join Date:
- Jul 2011
- Location:
- North Carolina
- Posts:
- 14
- Plugin Contributions:
- 0
Adding a home link inside the categories sidebox?
Would it be possible to add a link to the stores home page in the categories side box?
Dennis
Started by 34ford on 15 Apr 2013, 12:03 PM · Views: 1,120
New Zenner
Would it be possible to add a link to the stores home page in the categories side box?
Dennis
Oba-san
Using your templates and overrides you can edit the file:
/includes/templates/your_templates_dir/sideboxes/tpl_categories.php
and add the code in RED:
$content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent">' . "\n";
[B] $content .= '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . HEADER_TITLE_CATALOG . '</a>' . '<br />' . "\n";
[/B] for ($i=0;$i<sizeof($box_categories_array);$i++) {
Linda McGrath
If you have to think ... you haven't been zenned ...
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!
New Zenner
Super. Works great.
Thank you again.
Dennis
Tell staff why this post should be reviewed.