pazdar:
In the
includes/languages/english/classics/header.php
I added:
define('HEADER_LOGO2_WIDTH', '192px');
define('HEADER_LOGO2_HEIGHT', '64px');
define('HEADER_LOGO2_IMAGE', 'aztecking.GIF');
In the:
templates/template_default/css/stylesheet.css
I added:
#LOGO2 {float: right;}
In the templates/template_default/common/tpl_header.php
I added:
<div id="header_logo2_image">
</div>
I also tried changing, just to see if it could be done, the #logo (which I thought was my current logo) to float right. That didn't do anything
This is almost correct, I modified this to get it working on my site. But I am still experiencing problems with resizing the image.
Here is what I changed form above
First off you must be sure you are editing the files for the template you are using and not the default template(unless you are using that)
Second find what directory your logo is stored. Right click on the image and choose "View Image"
Put your second image in the same directory
Now instead of
templates/template_default/css/stylesheet.css
#LOGO2 {float: right;}
use lowercase
#logo2 {float: right;}
Instead of
In the templates/template_default/common/tpl_header.php
<div id="header_logo2_image">
</div>
use
<div id="logo2"><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . zen_image($template->get_template_dir(HEADER_LOGO2_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO2_IMAGE, HEADER_LOGO2_WIDTH, HEADER_LOGO2_HEIGHT) . '</a>'; ?></div>
You see the original doesn't tell the template where to get the image form this new code is a copy of the code that displays the original logo with modification from logo to logo2
I will post back if when I get the image sizing working.