Black Belt
- Join Date:
- Jul 2005
- Location:
- Upstate NY
- Posts:
- 21,876
- Plugin Contributions:
- 8
How to add new link to categories sidebox?
Here's the problem... betterCategories uses an accumulator variable $content instead of directly echoing the output as the original tpl_categories.php does. So you want ```php
$content .= '<br />' . zen_draw_separator('pixel_silver.gif') . '<br />';
}
$content .= '<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 .= '<div class="betterCategories"><a
You will currently have a FREE Products link somewhere else on your page.