Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15
  1. #11
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default Re: Change Featured Products header to an image

    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.

  2. #12
    Join Date
    Mar 2006
    Location
    Fresno, California
    Posts
    620
    Plugin Contributions
    0

    Default Re: Change Featured Products header to an image

    I am unable to identify where to remove this in the english.php

    Help?

  3. #13
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Change Featured Products header to an image

    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>';
        } 

  4. #14
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Change Featured Products header to an image

    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.

  5. #15
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Change Featured Products header to an image

    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.
    HTML Code:
    <h3 class="leftBoxHeading" id="searchHeading"><img src="includes/templates/custom_template/images/boxhead-search.gif" alt="" width="150" height="38" /></h3>
    You should install the current version of Image Titles and move the images to the corresponding /buttons/english/ folder.

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Category featured image: I want to show only subcategories, not featured products!
    By ilmarchez in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 3 Dec 2010, 05:33 PM
  2. change Featured products to Featured Categories?
    By chrismaddox3d in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 22 Oct 2010, 01:25 AM
  3. Featured Products(on index): Need to change product image & title order
    By Pathan in forum Templates, Stylesheets, Page Layout
    Replies: 12
    Last Post: 12 Jan 2010, 04:41 PM
  4. Displaying products in the header like featured, new products sidebox
    By NamSingh in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 25 Dec 2009, 03:24 AM
  5. Change Text in Featured Products header
    By Kuka in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 26 Feb 2009, 05:25 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR