Page 5 of 16 FirstFirst ... 3456715 ... LastLast
Results 41 to 50 of 156
  1. #41
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Image Titles Support Thread

    Image Titles and Categories Dressing will not interfere with each other and can be used at the same time.

    For v1.3.7 you need to use Image Titles v1.1 - some of the base files are different in v1.2 for v1.3.8 and will cause errors in v1.3.7.

    In general, you can make a text replacement image the same size as the heading it is going in. Sometimes you may want to make it a bit smaller.

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

    Default Re: Image Titles Support Thread

    barleywine -

    The code that makes Image Titles work is quite simple, and can be adapted to many situations.
    PHP Code:
    $title = (file_exists(DIR_WS_TEMPLATE 'buttons/' $_SESSION['language'] . '/boxhead-' $box_id '.gif') ? zen_image(DIR_WS_TEMPLATE 'buttons/' $_SESSION['language'] . '/boxhead-' $box_id '.gif') : $title); 
    Change $title, '/boxhead-' and $box_id to fit the conditions.

    There may be situations where the output is controlled directly by a zen function and this code cannot be inserted neatly.

  3. #43
    Join Date
    Feb 2006
    Posts
    28
    Plugin Contributions
    0

    Default Re: Image Titles Support Thread

    Excellent MOD! Worked like a charm, if you remember to name your graphic with 'boxhead-' in the first place =)

    Thank you for this...
    Christina

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

    Default Re: Image Titles Support Thread

    With the release schedule announcement for Zen Cart v2.0, I want to confirm that I will be keeping Image Titles up to date with core code. I don't expect any change in mod functionality. The required adaptation should be minimal, so that the new version can be released soon after the final ZC v2.0 release.

  5. #45
    Join Date
    May 2007
    Location
    Italy
    Posts
    438
    Plugin Contributions
    0

    Default Re: Image Titles Support Thread

    hello Glenn thank to you for this mod.
    I have uploaded all file and I have insert a gif image called
    categorie.gif in
    includes/template/mytemplate/buttons/italian

    but it doesn't appear, why? I don't understan

    the link is

    hxxp://www.giocattoliamo.it/demosugar/
    please if you can, I am doing a restyling of my ecommerce, so I would to insert this mod.

    Thank you

  6. #46
    Join Date
    May 2007
    Location
    Italy
    Posts
    438
    Plugin Contributions
    0

    Default Re: Image Titles Support Thread

    Quote Originally Posted by gjh42 View Post
    The image filename for each sidebox needs to include the name (id) of the sidebox.

    The categories box has an id of categories, so its image file will be named boxhead-categories.gif.
    ok I've tried and goes in english language.
    The question is where do I find the name (id) of the sidebox?

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

    Default Re: Image Titles Support Thread

    You can use a different image for each language; the code automatically uses the image that matches the current language in the shop. When the customer has selected Italian, the code will look for a file in /includes/templates/your_template/buttons/italian/.

    To find the name of any sidebox, you can do a view source and look at the HTML that is being output. For Categories, look for the set of category links in the code, and note at the top of that list:
    <div id="categories">

    The id stays the same no matter the language in use, so you would use the same filename for images in any language. They should be saved in the appropriate language folder in /buttons/.

  8. #48
    Join Date
    May 2007
    Location
    Italy
    Posts
    438
    Plugin Contributions
    0

    Default Re: Image Titles Support Thread

    sorry but also for the image that goes I don't understand.

    If i view the code of page it looks
    <div class="leftBoxContainer" id="categories" style="width: 150px">
    <h3 class="leftBoxHeading" id="categoriesHeading"><img src="includes/templates/sugar/buttons/english/boxhead-categories.gif" alt="" width="100" height="20" /></h3>
    <div id="categoriesContent" class="sideBoxContent">
    <hr id="catBoxDivider" />
    i have insert copying by you
    boxhead-categories.gif but where I saw that I have to insert boxhead before image.gif?

    thank you for patience

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

    Default Re: Image Titles Support Thread

    You have boxhead-categories.gif saved in
    includes/templates/sugar/buttons/english/boxhead-categories.gif, but not in includes/templates/sugar/buttons/italian/boxhead-categories.gif.

    If you want the same image for both languages, just copy the file into the other language's /buttons/language/ folder.

    If you want different images for each language, save each one with the same name, but in the correct language folder.

  10. #50
    Join Date
    May 2007
    Location
    Italy
    Posts
    438
    Plugin Contributions
    0

    Default Re: Image Titles Support Thread

    sorry, i didn't understand before.
    So it is alwaysthe word BOXHEAD and the id of box?

    It was if is always word boxhead.

    Thank you very much

 

 
Page 5 of 16 FirstFirst ... 3456715 ... LastLast

Similar Threads

  1. v150 Image Handler 4 (for v1.5.x) Support Thread
    By DivaVocals in forum All Other Contributions/Addons
    Replies: 1684
    Last Post: 2 Oct 2022, 06:55 AM
  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

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