Thanks for the tips on some resources to make favicons.
The rest of what you stated is automatically handled by Zen Cart without requiring edits to html_header.php
Related FAQ: https://www.zen-cart.com/tutorials/index.php?article=52
Thanks for the tips on some resources to make favicons.
The rest of what you stated is automatically handled by Zen Cart without requiring edits to html_header.php
Related FAQ: https://www.zen-cart.com/tutorials/index.php?article=52
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Well, now I feel rather daft for having started this thread.
Don't know how I could have overlooked the Ultimate Zen Cart Favicon Tutorial at https://www.zen-cart.com/tutorials/index.php?article=52
I've re-vamped my own tutorial now, based on that really *good* tutorial, so I figured I'd better update this thread.
As Dr Byte pointed out, it is unnecessary to add those two lines of code to shop/includes/templates/CUSTOM/common/html_header.php
So don't add them. Just make sure you FTP your finished favicon to the root (ie: "public_html" or "httpdocs" etc) directory of your web server. Not your 'shop' folder where had I daftly put it.
After I had fixed these two issues my favicon showed up in Opera and IE, but not Firefox and Safari.
So it's back to the really *good* tutorial. Which advises:
QUOTE [If you wish to have each page setting the favicon data explicitly, you can simply open your /includes/languages/english/YOURTEMPLATE/meta_tags.php file and uncomment the define for FAVICON as shown:
// favicon setting
// There is usually NO need to enable this unless you wish to specify a path and/or a different filename
define('FAVICON', 'favicon.ico');
With that set, Zen Cart will explicitly mention the favicon settings on every page, automatically."] UNQUOTE
So I did that, and now my favicon shows up in Firefox but still not in Safari.
I've given up on getting it to show in Safari.
But I'm a lot happier with this result because it doesn't mess with the code in common/html_header.php
caf
http://www.my-bookcafe.com
Note to self: whenever you so much as dot an i or cross a t in ZenCart, *check how it looks in all browsers*. Until then it is *not safe* to think all is well!!!!
Many times if the browser isn't showing the icon just by visiting the site, if you bookmark the site, the icon will then show since it gets cached.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Thank you Dr B!![]()
http://www.my-bookcafe.com
Note to self: whenever you so much as dot an i or cross a t in ZenCart, *check how it looks in all browsers*. Until then it is *not safe* to think all is well!!!!