One should NEVER edit a core fileOriginally Posted by gunni
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
One should NEVER edit a core fileOriginally Posted by gunni
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
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}
gunni,
What is the name of the image and what is the path to it
Zen-Venom Get Bitten
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.
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
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
HEADER_LOGO2_IMAGE
Where exactly have you defined this, and what is it now defined as?
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');
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">
What exactly is the filepath to this header.php?