Once you have your templates sorted out, you could customize the code by adding to your templates and overrides a copy of:
/includes/modules/category_icon_display.php
to your templates and overrides directory:
/includes/modules/your_template_dir/category_icon_display.php
and adding to the code the code in RED:
$category_icon_display_name = zen_get_categories_name((int)$current_category_id);
$category_icon_display_image = zen_get_categories_image((int)$current_category_id);
$categories_icon_display_description = zen_get_category_description((int)$current_category_id, (int)$_SESSION['languages_id']);
Then copy the template file:
/includes/templates/template_default/tpl_modules_category_icon_display.php
to your templates and overrides directory:
/includes/templates/your_template_dir/tpl_modules_category_icon_display.php
and adding the code in RED:
<div align="<?php echo $align; ?>" id="categoryIcon" class="categoryIcon"><?php echo '<a href="' . zen_href_link(FILENAME_DEFAULT, 'cPath=' . $_GET['cPath'], 'NONSSL') . '">' . $category_icon_display_image . $category_icon_display_name . '</a>'; ?></div>
<div id="categoryDescription class="categoryDescription"><?php echo $categories_icon_display_description; ?></div>
Linda McGrath
If you have to think ... you haven't been zenned ...
**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!