gjh42:
If you use Categories Dressing for your categories sidebox, you can add a "heading" above the All Products link with HTML content that will look and act exactly the same as the other links.
In this case, the "similar threads" at the bottom of the page aren't helpful, but you could perhaps use the "Categories and EZ-Pages in same sidebox" mod in Free Addons, or else in /includes/templates/your_template/sideboxes/tpl_categories.php you could clone the All Products code and strip/alter it for your desired link.
So I tried editing the tpl_categories file using your code at http://www.zen-cart.com/forum/showthread.php?t=105690 and it's not doing a thing. Nothing showing up at all on my site. What could I be doing wrong?:frusty:
Here is how that section of my tpl_categories now looks :
// display a separator between categories and links
if (SHOW_CATEGORIES_SEPARATOR_LINK == '1') {
$content .= '<hr id="catBoxDivider" />' . "\n";
}
echo '<a href="http://www.moebow.com/index.php?main_page=index&cPath=25_60">FREE Products</a><br />'. "\n";
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";
}
}
if (SHOW_CATEGORIES_BOX_PRODUCTS_NEW == 'true') {