Page 16 of 16 FirstFirst ... 6141516
Results 151 to 156 of 156
  1. #151
    Join Date
    Jan 2014
    Location
    Essen
    Posts
    25
    Plugin Contributions
    0

    Default Re: Image Titles Support Thread

    I was wondering is the a way to replace with image Recently Viewed Products? I try to name the heading: centerboxhead-recent_products.png but no....it is not showing. I was sure it is center box and the name of the sidebox is recent_products. Can you help me?
    http://www.polish-your-art.com/bouti...17c20f43a95976

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

    Default Re: Image Titles Support Thread

    I haven't looked at the code for this in a long time, but it probably needs the same (minor) code addition/modification that other centerboxes use to make the image replacement happen. I am pretty busy right now with other projects, but will look at it when I can. If you are able to read and tweak PHP code, you should be able to handle this.

  3. #153
    Join Date
    Apr 2014
    Posts
    154
    Plugin Contributions
    0

    Default Re: Image Titles Support Thread

    Quote Originally Posted by Marta van Eck View Post
    I was wondering is the a way to replace with image Recently Viewed Products? I try to name the heading: centerboxhead-recent_products.png but no....it is not showing. I was sure it is center box and the name of the sidebox is recent_products. Can you help me?
    http://www.polish-your-art.com/bouti...17c20f43a95976
    This has nothing to do with your question, but you may want to know your site has a layout issue where the center column is pushing out the right column to the far right. This is seen when your products are 3 in a row. The 3rd grid is shoving it making your site horizontally scrolling.

  4. #154
    Join Date
    Jan 2014
    Location
    Essen
    Posts
    25
    Plugin Contributions
    0

    Default Re: Image Titles Support Thread

    I can not see it...I use Chrome and it looks all ok. Thank you for letting me know.Do you know maybe why it is scrolling?

  5. #155
    Join Date
    Jul 2009
    Posts
    158
    Plugin Contributions
    0

    Default Re: Image Titles Support Thread

    Hi there

    I have installed Images for Titles and it seems to be working fine for the boxhead-xxxx but I am unable to get it to change the subcategory to be a picture. I have renamed my images as categoryname11.gif (11 being the number that ZC assigned that category in my admin) but when I upload the images, nothing changes.

    My website is http://www.fnqstockphotos.com/

    Amy
    Last edited by amyleew; 6 Sep 2014 at 07:08 AM. Reason: added website just in case

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

    Default Re: Image Titles Support Thread

    I don't see any subcategories on your website, only top categories. The categorynamexx.gif only works for subcategories in a category listing, not the current category in a product listing page. You can add the current category name to the image replacement set by editing /includes/templates/your_template/templates/tpl_index_categories.php. Around line find
    PHP Code:
    /**
     * require the html_define for the index/categories page
     */
      include($define_page);
    ?></div>
    <?php ?>

    <?php } else { ?>
    <h1 id="indexCategoriesHeading"><?php echo $breadcrumb->last(); ?></h1>
    <?php ?>

    <?php
    if (PRODUCT_LIST_CATEGORIES_IMAGE_STATUS_TOP == 'true') {
    // categories_image
    Following the instructions in the readme:

    To use the image-replacing function in other locations (advanced):
    Call the function in any file where you want to replace text with an image, or add an image before or after text.
    PHP Code:
    text_image_replace($text_to_replace$image_file_name'extension_if_different''position_if_not_replace'
    Substitute this whole function call for $text_to_replace in your code.

    change one line to
    PHP Code:
    <h1 id="indexCategoriesHeading"><?php echo text_image_replace($breadcrumb->last(),'categoryname' $current_category_id); ?></h1>
    (Not yet tested - if you have difficulties, let me know.)
    Last edited by gjh42; 9 Sep 2014 at 04:54 AM.

 

 
Page 16 of 16 FirstFirst ... 6141516

Similar Threads

  1. v150 Image Handler 4 (for v1.5.x) Support Thread
    By DivaVocals in forum All Other Contributions/Addons
    Replies: 1687
    Last Post: 17 Nov 2024, 07:26 PM
  2. Rotating Image Slider [Support Thread]
    By picaflor-azul in forum All Other Contributions/Addons
    Replies: 21
    Last Post: 8 Jun 2018, 02:16 AM
  3. v139h Image Handler 3 Support Thread (for ZC v1.3.9)
    By DivaVocals in forum All Other Contributions/Addons
    Replies: 1095
    Last Post: 2 Oct 2017, 12:42 PM
  4. AJAX IMAGE Swapper support thread
    By jaycode in forum All Other Contributions/Addons
    Replies: 785
    Last Post: 13 Jan 2016, 11:48 PM
  5. Additional Image Titles [support]
    By gjh42 in forum All Other Contributions/Addons
    Replies: 67
    Last Post: 16 Sep 2011, 04:28 AM

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