copy the following default template file
includes/templates/template_default/sideboxes/tpl_categories.php
to your template override folder
includes/templates/YOUR_TEMPLATE_DIR/sideboxes/
Then with a text editor (don't use cPanel editor) carefully move the following block of code to where you would like.
Code:
if (SHOW_CATEGORIES_BOX_PRODUCTS_NEW == 'true') {
// display limits
// $display_limit = zen_get_products_new_timelimit();
$display_limit = zen_get_new_date_range();
$show_this = $db->Execute("select p.products_id
from " . TABLE_PRODUCTS . " p
where p.products_status = 1 " . $display_limit . " limit 1");
if ($show_this->RecordCount() > 0) {
$content .= '<a class="category-links" href="' . zen_href_link(FILENAME_PRODUCTS_NEW) . '">' . CATEGORIES_BOX_HEADING_WHATS_NEW . '</a>' . '<br />' . "\n";
}
}
Moving that block of code to the line immediately after the following code should do the trick.
Code:
$content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent">' . "\n";
Bookmarks