Ok, I will try to explain.
I downloaded the "Wallet" style contribution from this site. I replaced the "includes" folder as per instructions. I modified the settings from my admin panel to suite my taste and then started to make mods for other appearances that I want. One of which was to change the header logo to display my banner which was originally named "LoteMainBanner.gif". Following instructions that I found on the site,
I first opened the ../includes/templates/wallet/images folder and changed the name of the existing logo named "logo.gif" to "logo.gif.old"
Then I saved my image "LoteMainBanner.gif" to the same folder.
Then I opened the ../included/language/english/wallet/header.php file and edited the proper 'define' fields.
from -
// added defines for header alt and text
define('HEADER_ALT_TEXT', '');
define('HEADER_SALES_TEXT', '');
define('HEADER_LOGO_WIDTH', '758');
define('HEADER_LOGO_HEIGHT', '122');
define('HEADER_LOGO_IMAGE', 'logo.gif');
to -
// added defines for header alt and text
define('HEADER_ALT_TEXT', 'Handmade Luxury for Everyone!');
define('HEADER_SALES_TEXT', 'Hankmade Luxury with Purpose');
define('HEADER_LOGO_WIDTH', '728');
define('HEADER_LOGO_HEIGHT', '90');
define('HEADER_LOGO_IMAGE', 'LoteMainBanner.gif');
That didn't work.
I then went back and named my banner "logo.gif", modified the header.php accordingly and tried again.
Still didn't work.
Then, just for fun, I renamed the original image (the one I'm trying to change, from "logo.gif.old" to "workingone.gif". That worked by showing the original image.
I thought that it might be a problem with my image so I re-saved it to several different names from several different programs (including right clicking on it in my browser and saving from there) into both .gif and .jpg images. All of them were viewable in my browser and all other programs (paintshop, photoshop, fireworks, irfan view, IE7 and Firefox. None of them would show up when saved in the ../includes/templates/wallet/images folder with their names added to the header.php file in ../included/languages/english/wallet.
When I compared the generated HTML from the one that displayed the logo to the one that didn't display my logo, I found that there was some code missing in the HTML that was supposed to display my banner.
Here is the code that is missing from the one not working....
<img src="includes/templates/wallet/images/workingone.gif" alt="Handmade Luxury for Everyone!" title=" Handmade Luxury for Everyone! " width="758" height="124" />
It just looks like this....
<div id="logo"><a href="http://localhost/LoteRoot/zencart/"> :mellow:</a></div>
The smiley is where the code should be in mine, but isn't. Does that make any sense?
I can't figure out what is making the HTML code generate differently when all I'm doing is changing the name of the image file in the header.php. Any ideas?
Thanks,
Vood