I'm not sure if this belongs here, but how do i upload my logo to the server? I've created a folder for it, but needless to say there is nothing in there because I don't know how to put anything in there.
I'm not sure if this belongs here, but how do i upload my logo to the server? I've created a folder for it, but needless to say there is nothing in there because I don't know how to put anything in there.
The folder to which you upload your logo image will depend on which TEMPLATE you are using.
In a Standard Zencart Install, the template will be "classic".
The default image name is logo.gif , and if you want to change this to a jpeg, you will need to edit the following line in:-
includes/languages/english/classic/header.php
Line #24 : define('HEADER_LOGO_IMAGE', 'logo.gif');
to
Line #24 : define('HEADER_LOGO_IMAGE', '????????.jpg');
where
????????.jpg is the name of your logo image.
Then, when you have edited and saved this file in its location on your server, you UPLOAD your image (??????????.jpg) to:-
includes\templates\classic\images\
(If you are using another template, you will substitute your template's name for "classic" in the above.)
Because my logo is a jpg .... this is what I did ...
/ added defines for header alt and text
define('HEADER_ALT_TEXT', 'Powered by Zen Cart :: The Art of E-Commerce ::
define('HEADER_SALES_TEXT', 'TagLine Here');
define('HEADER_LOGO_WIDTH', '192px');
define('HEADER_LOGO_HEIGHT', '64px');
define('HEADER_LOGO_IMAGE', 'logo.jpg');
I also removed the bit after the art of e-commerce which referred to Mutual Advantage - but when I refreshed the site, the wording is still there.
I also loaded the logo to my images file of my template.
Have I got myself confused, cause nothing seemed to have happened. Boo Hoo - really wanted to impress my teacher!
You might have edited the wrong page.
Easiest thing to do is do a site wide search for logo.gif and change each instance until you find the right one.
Of course BACK-UP EVERYTHING before you make changes.
How would I do a wide search ?
Admin - Tools - Developer's Tool Kit