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
still havent had any joy in getting the logo to display
I have done a wide search and whether I am missing something or not, I dont know ! Hoowever, I note my logo has a jpeg extension, but when its transferred to the FTP it appears to have the extension of jpg - is the jpeg & jpg extension one of the same ?
When editing (change from gif to jpg/jpeg) am I right in saying its a jpg (the name as what is on to FTP) or should I have edited it to jpeg ?
Also It is recommended that the logo be 192 x 64px - how can I establish whether my logo is in fact this size ? I am working with jpegsizer 6.
Thanks, whoever is out there, for your help !
S,
please submit a url to the site please..
Are You Vulnerable for an Accessibility Lawsuit?
myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
Free SSL, Domain, and MagicThumb with semi-annual and longer hosting
This is the URL for the current Logo image:
vinyls4u.org.uk - /includes/templates/template_default/images/logo.gif
This tells us that you deleted the 'classic' dir.
/includes/templates/classic
You must recreate that dir. and any other 'classic' dir. you deleted. Any directory named 'classic' must remain and you create your own dir. for custom Templates.
Top of this page is a link to FAQs and you can search for 'override' to better understand how custom Templates are used within Zen Cart.