hi
i installed the cold steel template and i really love it. (simple & Beautiful)
i've been working on my web site with no problems until i realized that when a category has more than one product it doesn't show any just gategory name and blank.
when only one product in the category it goes straight to product discription.
i installed the Debug Error-Logging Utility and this what it says:
[08-Apr-2009 09:34:40] PHP Parse error: syntax error, unexpected ',' in /hermes/bosweb/web180/b1801/public_html/eshop/includes/modules/product_listing.php on line 98
and the php file around the line 98 is like this:
PHP Code:
break;
case 'PRODUCT_LIST_NAME':
$lc_align = '';
if (isset($_GET['manufacturers_id'])) {
$lc_text = '<h3 class="itemTitle"><a href="' . zen_href_link(zen_get_info_page($listing->fields['products_id']), 'cPath=' . (($_GET['manufacturers_id'] > 0 and $_GET['filter_id']) > 0 ? zen_get_generated_category_path_rev($_GET['filter_id']) : ($_GET['cPath'] > 0 ? zen_get_generated_category_path_rev($_GET['cPath']) : zen_get_generated_category_path_rev($listing->fields['master_categories_id']))) . '&products_id=' . $listing->fields['products_id']) . '">' . $listing->fields['products_name'] . '</a></h3><div class="listingDescription">' . zen_trunc_string(stripslashes(zen_get_products_description($listing->fields['products_id'], $_SESSION['languages_id']))), PRODUCT_LIST_DESCRIPTION) . '</div>' ;
} else {
$lc_text = '<h3 class="itemTitle"><a href="' . zen_href_link(zen_get_info_page($listing->fields['products_id']), 'cPath=' . (($_GET['manufacturers_id'] > 0 and $_GET['filter_id']) > 0 ? zen_get_generated_category_path_rev($_GET['filter_id']) : ($_GET['cPath'] > 0 ? zen_get_generated_category_path_rev($_GET['cPath']) : zen_get_generated_category_path_rev($listing->fields['master_categories_id']))) . '&products_id=' . $listing->fields['products_id']) . '">' . $listing->fields['products_name'] . '</a></h3><div class="listingDescription">' . zen_trunc_string(stripslashes(zen_get_products_description($listing->fields['products_id'], $_SESSION['languages_id']))), PRODUCT_LIST_DESCRIPTION) . '</div>';
}
break;
and the line 98 is the first one saying: ( $lc_text = '<h3 class="itemTitle">)
any hints what the cause of this? how can be fixed?
by da way i'm using latest zc version, and my website is
www.mrsat.co.uk
thx alot in advance
Bookmarks