Thread: logo display

Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16
  1. #11
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,267
    Plugin Contributions
    3

    Default Re: logo display

    Donation will duly be made !
    20 years a Zencart User

  2. #12
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,267
    Plugin Contributions
    3

    Default Re: logo display

    Here it is...

    [SCR]http://www.modshops.co.uk/zenpay.jpg[/SCR]
    Last edited by Kim; 28 May 2010 at 10:31 AM.
    20 years a Zencart User

  3. #13
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,378
    Plugin Contributions
    9

    Default Re: logo display

    Quote Originally Posted by FenG View Post
    SOLVED

    I change the lien above with:

    <?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT) . '</a>'; ?>

    ( as written in the default template )
    Without hacking into core files your problem is best solved by:

    1. creating a new image file for each language ie logode.gif (for german), logoesp.gif (for spanish), logofr.gif (for french) etc

    2. place all of these images into your image folder includes/templates/your_template/images

    3. open header.php in includes/languages/german/your_template and find define('HEADER_LOGO_IMAGE', 'logo.gif'); then change logo.gif to logode.gif

    4. open header.php in includes/languages/spanish/your_template and find define('HEADER_LOGO_IMAGE', 'logo.gif'); then change logo.gif to logoesp.gif

    5. open header.php in includes/languages/french/your_template and find define('HEADER_LOGO_IMAGE', 'logo.gif'); then change logo.gif to logofr.gif

    6. next language ......

    I would suggest to reverse your core file edit and use the above approach.

  4. #14
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,378
    Plugin Contributions
    9

    Default Re: logo display

    Quote Originally Posted by schoolboy View Post
    Here it is...
    I love it when people stick to their words

  5. #15
    Join Date
    Nov 2009
    Posts
    40
    Plugin Contributions
    0

    Default Re: logo display

    Frank, thats how i originally did it.
    But because of the code in the tpl_header it would automaticly use the logo.gif that was the issue.

    By changing that code somewhat back to the original code got it to work for me.

    YEAH i think the donation is highly apreciated.

  6. #16
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,378
    Plugin Contributions
    9

    Default Re: logo display

    Quote Originally Posted by FenG View Post
    ....By changing that code somewhat back to the original code got it to work for me....
    Yep, that's the way. At least someone else may benefit from our exchange in this thread when they attempt to do something similar

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Email logo display problems
    By Ms_X in forum General Questions
    Replies: 1
    Last Post: 11 Jun 2011, 05:23 AM
  2. Header Logo display position
    By shingogm in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 26 Jan 2009, 07:22 AM
  3. apple_zen Logo display Problem
    By wdh in forum Addon Templates
    Replies: 2
    Last Post: 5 Mar 2008, 04:43 PM
  4. How do I display geo trust logo?
    By yenmax in forum General Questions
    Replies: 1
    Last Post: 5 Dec 2007, 07:13 AM
  5. Display SSL logo
    By ggettings in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 27 Oct 2006, 03:35 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