Remove it from your english.php
Remove it from your english.php
Please do not PM for support issues: a private solution doesn't benefit the community.
Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.
I am unable to identify where to remove this in the english.php
Help?
You are using the Image Titles mod, and for some reason the code is not removing the category name appended to the title when the image is being used, even though it is written to do that.
Is your /includes/modules/your_template/featured_products.php showing this code at the bottom of the file?PHP Code:
if (isset($new_products_category_id) && $new_products_category_id !=0) {
$category_title = zen_get_categories_name((int)$new_products_category_id); //image titles - box header image if file exists 2007-10-04
$title = '<h2 class="centerBoxHeading">' . (file_exists(DIR_WS_TEMPLATE . 'buttons/' . $_SESSION['language'] . '/centerboxhead-featured.gif') ? zen_image(DIR_WS_TEMPLATE . 'buttons/' . $_SESSION['language'] . '/centerboxhead-featured.gif') : TABLE_HEADING_FEATURED_PRODUCTS . ($category_title != '' ? ' - ' . $category_title : '')) . '</h2>';
} else {
$title = '<h2 class="centerBoxHeading">' . (file_exists(DIR_WS_TEMPLATE . 'buttons/' . $_SESSION['language'] . '/centerboxhead-featured.gif') ? zen_image(DIR_WS_TEMPLATE . 'buttons/' . $_SESSION['language'] . '/centerboxhead-featured.gif') : TABLE_HEADING_FEATURED_PRODUCTS) . '</h2>';
}
Hmm... are you applying the Image Titles mod to the centerboxes, or trying to do those manually? If you have renamed the mod's /includes/modules/your_template/ folder to your custom template name, all you have to do is save the image as
/includes/templates/your_template/buttons/english/centerboxhead-featured.gif.
I see the problem. You are using the old version of Image Titles, before the switch to language-specific images, and that version may not have had centerbox title support.You should install the current version of Image Titles and move the images to the corresponding /buttons/english/ folder.HTML Code:<h3 class="leftBoxHeading" id="searchHeading"><img src="includes/templates/custom_template/images/boxhead-search.gif" alt="" width="150" height="38" /></h3>
Bookmarks