1. First be sure you've got your own custom template set up. In this example I'll call it FRED
2. Copy the /includes/templates/template_default/sideboxes/tpl_categories.php to your /includes/templates/FRED/sideboxes/ folder
3. You will now edit that new copy: /includes/templates/FRED/sideboxes/tpl_categories.php
Around line 66 you'll see a section of code that looks like this:
Code:
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";
}
}
MOVE all those lines up between lines 13-14 so it looks like this:
Code:
$content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent">' . "\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";
}
}
for ($i=0;$i<sizeof($box_categories_array);$i++) {