Zen Follower
- Join Date:
- Jan 2006
- Location:
- Portland, Oregon
- Posts:
- 256
- Plugin Contributions:
- 0
Category Sidebox - Change Specials Link?
I am trying to change the Category Sidebox - Specials category link to reference the Specials Sidebox > Specials (more) sidebox link because I would like my customers to be able to see all my specials on one page if they click on that link.
I tried this...
in /includes/templates/MYTEMPLATE/templates/
tpl_categories.php
changed this...
if (SHOW_CATEGORIES_BOX_SPECIALS == 'true') {
$show_this = $db->Execute("select s.products_id from " . TABLE_SPECIALS . " s where s.status= 1 limit 1");
if ($show_this->RecordCount() > 0) {
$content .= '<a class="category-links" href="' . zen_href_link(FILENAME_SPECIALS) . '">' . CATEGORIES_BOX_HEADING_SPECIALS . '</a>' . '<br />' . "\n";
}
}
to this...
if (SHOW_CATEGORIES_BOX_SPECIALS == 'true') {
$show_this = $db->Execute("select s.products_id from " . TABLE_SPECIALS . " s where s.status= 1 limit 1");
if ($show_this->RecordCount() > 0) {
$content .= '<a class="category-links" href="http://www.oldwestgames.com/specials.html">' . CATEGORIES_BOX_HEADING_SPECIALS . '</a>' . '<br />' . "\n";
}
}
but that didn't work.
any suggestions?
mafiasam