Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 37
  1. #21
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Two logo's on header

    Quote Originally Posted by gunni
    The file I worked on is in /includes/templates/template_default/common/
    One should NEVER edit a core file

    Try to replace it with the original and place your edited copy in your template structure

    If the folder does not exist - - create it

    includes/templates/classic/common
    Zen-Venom Get Bitten

  2. #22
    Join Date
    Aug 2010
    Location
    Israel
    Posts
    285
    Plugin Contributions
    0

    Default Re: Two logo's on header

    Thanks Kobra.
    Did it like you said, returned the original and created common
    dir in my classic dir.
    Results are the same.
    Here is 2 logos code from the tpl_header.php file:

    <!--bof-branding display-->
    <div id="logoWrapper">
    <div id="logo"><?php echo zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO_IMAGE) ; ?></div>
    <?php if (HEADER_SALES_TEXT != '' || (SHOW_BANNERS_GROUP_SET2 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET2))) { ?>

    <div id="logo2"><?php echo zen_image($template->get_template_dir(HEADER_LOGO2_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO2_IMAGE) ; ?></div>


    <div id="taglineWrapper">

    Of course I added logo2 to header.php
    and add a code in stylesheet.css:
    #logo2 {float: right}

  3. #23
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Two logo's on header

    gunni,

    What is the name of the image and what is the path to it
    Zen-Venom Get Bitten

  4. #24
    Join Date
    Aug 2010
    Location
    Israel
    Posts
    285
    Plugin Contributions
    0

    Default Re: Two logo's on header

    Path is OK.
    I changed the logo#2 name to logo#1 name (both in the same dir) and logo#2 appered instead of logo#1 so I am sure the path
    of the logos is OK.

  5. #25
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Two logo's on header

    gunni,

    That did not answer what I asked

    What is the actual image name
    What it the actual path to it
    Zen-Venom Get Bitten

  6. #26
    Join Date
    Aug 2010
    Location
    Israel
    Posts
    285
    Plugin Contributions
    0

    Default Re: Two logo's on header

    logo#1: /shop/includes/templates/classic/images/adi.gif
    logo#2: /shop/includes/templates/classic/images/logo2.gif

    logo#1 appears
    logo#2 does not appear

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

    Default Re: Two logo's on header

    HEADER_LOGO2_IMAGE
    Where exactly have you defined this, and what is it now defined as?

  8. #28
    Join Date
    Aug 2010
    Location
    Israel
    Posts
    285
    Plugin Contributions
    0

    Default Re: Two logo's on header

    defined it in header.php:

    // added defines for header alt and text
    define('HEADER_ALT_TEXT', '');
    define('HEADER_SALES_TEXT', '');
    define('HEADER_LOGO_WIDTH', '100%');
    define('HEADER_LOGO_HEIGHT', '100%');
    define('HEADER_LOGO_IMAGE', 'adi.gif');
    define('HEADER_LOGO2_WIDTH', '100%');
    define('HEADER_LOGO2_HEIGHT', '100%');
    define('HEADER_LOGO2_IMAGE', 'logo2.gif');

  9. #29
    Join Date
    Aug 2010
    Location
    Israel
    Posts
    285
    Plugin Contributions
    0

    Default Re: Two logo's on header

    also on tpl_header.php:
    <!--bof-branding display-->
    <div id="logoWrapper">
    <div id="logo"><?php echo zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO_IMAGE) ; ?></div>
    <?php if (HEADER_SALES_TEXT != '' || (SHOW_BANNERS_GROUP_SET2 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET2))) { ?>

    <div id="logo2"><?php echo zen_image($template->get_template_dir(HEADER_LOGO2_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO2_IMAGE) ; ?></div>


    <div id="taglineWrapper">

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

    Default Re: Two logo's on header

    What exactly is the filepath to this header.php?

 

 
Page 3 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. v150 Two Logo's?
    By Serious in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 31 Oct 2013, 02:49 AM
  2. Can't reszie the logo header in my template to fit logo image
    By signify in forum Templates, Stylesheets, Page Layout
    Replies: 11
    Last Post: 1 May 2011, 06:57 PM
  3. Two Different Header two languages
    By PaulaSinner in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 21 Mar 2009, 10:04 PM
  4. Logo with link... Two pages to change?
    By imagehorizons in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 3 Sep 2008, 03:02 PM
  5. Space Between Logo-header and EZ-Pages Header
    By Tig in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 22 Jul 2008, 07:17 PM

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