I am using a template supplied by monster and im not sure but since weve uploaded new images the category images no longer work. All that's displayed is the category properties which is repeated from the
Ive attempted to load them in the normal way but to no avail, checking some links ive ascertained this may well be the .php code related, it seems different to what other people have pasted on here, can anyone look at it and let me know why is specifies catbanner, and more importantly if there's anything wrong here.
tpl_index_categories.php
<?php*
//if (PRODUCT_LIST_CATEGORIES_IMAGE_STATUS_TOP == 'true') {
// categories_image
$categories_image = zen_get_categories_image($current_category_id);
if (is_file(DIR_WS_IMAGES . 'catbanner/' . $categories_image)) {
?>
<div class="ttext2 tie-margin1"><?php echo zen_image(DIR_WS_IMAGES .'catbanner/'. $categories_image); ?></div>
<?php
// categories_image
}
else
{
?>
<?php
// categories_description
if ($current_categories_description != '') {
?>
<div class="tie2 text2 tie-margin1">
<div class="tie2-indent">
<div class="catDescContent"><strong>Property categories:</strong><br /><?php echo $current_categories_description; ?></div>
<?php } // categories_description
}
?>
Ive attempted to load them in the normal way but to no avail, checking some links ive ascertained this may well be the .php code related, it seems different to what other people have pasted on here, can anyone look at it and let me know why is specifies catbanner, and more importantly if there's anything wrong here.
Bookmarks