Thread: logo display

Page 1 of 2 12 LastLast
Results 1 to 10 of 16
  1. #1
    Join Date
    Nov 2009
    Posts
    40
    Plugin Contributions
    0

    Default logo display

    i thought this was easy peasy but.... it isn't working.

    My set is multilingual and i want to show a different logo.gif for each language.

    I thought this would be done by naming the logo.gif differently in the language/header.php file.

    So i changed the logo.gif into logode.gif logonl.gif etc and uploaded the pictures and teh adjusted header.php files.

    BUT.... nothing happened it is still showing the original logo.gif file,

    Ho wcan i make this work?

    Thanks

  2. #2
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,196
    Plugin Contributions
    0

    Default Re: logo display

    Read this file first:
    includes/ templates/ template_default/ css/ CSS_read_me.txt
    This is a core file, so if you are using the override system place in your_template/ css

  3. #3
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: logo display

    Quote Originally Posted by FenG View Post
    i thought this was easy peasy but.... it isn't working.

    My set is multilingual and i want to show a different logo.gif for each language.

    I thought this would be done by naming the logo.gif differently in the language/header.php file.

    So i changed the logo.gif into logode.gif logonl.gif etc and uploaded the pictures and teh adjusted header.php files.

    BUT.... nothing happened it is still showing the original logo.gif file,

    Ho wcan i make this work?

    Thanks
    Fundamentally, the approach you have taken sounds logical.

    Are you sure that your site actually displays logo.gif ... and not just header_bg.gif? (Some people configure the background image to be the site "logo".)

    Haredo's suggestion that you could control this via language-specific stylesheets alse seems plausible...
    20 years a Zencart User

  4. #4
    Join Date
    Nov 2009
    Posts
    40
    Plugin Contributions
    0

    Default Re: logo display

    read that too, and still can not figure out how to get it to work.

    I have a german_stylesheet.css and for all the other languages as well.

    and inlcuded this:
    #headerpic img{
    image: url("../images/logode.gif");
    display: block;
    }

    but this is not working

    I think i actually use the logo.gif. Cause when i deleted mine the classic logo.gif was shown and that is the small zen-cart logo pic.

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

    Default Re: logo display

    ok, just discovered something.

    When i change my tenplate to the classic template, the logo is actually doing what i want it to do.
    It changes to the logo that goes with the language you choose.

    But in my custom template it is not working.

    why o why??

  6. #6
    Join Date
    Nov 2009
    Posts
    40
    Plugin Contributions
    0

    Default Re: logo display

    ok, i have now seen that when i choose the classic template. The images are pulled from the classic/images file.

    However when i choose my custom template, the images are pulled from the template_default/images file.

    i am oing crazy, not sure why this happens.

    Cause i have the images in the custom/images file

  7. #7
    Join Date
    Nov 2009
    Posts
    40
    Plugin Contributions
    0

    Default Re: logo display

    ok in my custom template i found the following

    template/custom/common/tpl_header.php

    I found the following line:

    <a href="<?php echo HTTP_SERVER . DIR_WS_CATALOG ?>"><?php echo zen_image(DIR_WS_TEMPLATE.'images/logo.gif'); ?></a>

    When i deleted this, it also deleted my logo image. So this def. has something to do with it. It is for sure the reason why it keeps showing the logo.gif But how would i work my way around this.?

  8. #8
    Join Date
    Nov 2009
    Posts
    40
    Plugin Contributions
    0

    Default Re: logo display

    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 )

  9. #9
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: logo display

    I'll bet a $10 donation to the Dev team that the template was either from TemplateMonster or Algozone !
    20 years a Zencart User

  10. #10
    Join Date
    Nov 2009
    Posts
    40
    Plugin Contributions
    0

    Default Re: logo display

    you just donated $10,- cause it is zenflavour template :)

 

 
Page 1 of 2 12 LastLast

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