X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   favicon.ico (https://forum.x-cart.com/showthread.php?t=31997)

keystone 06-21-2007 12:43 PM

favicon.ico
 
I would like to place this bit of code in the head section of my pages so that I can have a custom icon shown in the browser address bar and next to my site in peoples favorites lists.
<LINK REL="SHORTCUT ICON" HREF="favicon.ico">
<link rel="icon" href="favicon.ico" type="image/x-icon">

My question is what/where is the template that writes the code between the <head></head> tags?

carpeperdiem 06-21-2007 02:12 PM

Re: favicon.ico
 
In /skin1/customer/home.tpl

you will see:
Code:

{include file="meta.tpl" }
<link rel="stylesheet" href="{$SkinDir}/{#CSSFile#}" />


Put your favicon.ico right before or right after the line for the stylesheet.
Something like this:

Code:

{include file="meta.tpl" }
<link rel="shortcut icon" href="/favicon.ico" />
<link rel="stylesheet" href="{$SkinDir}/{#CSSFile#}" />


And put your favicon.ico image in your root directory -- it doesn't seem to work if its not in root.

Hope this helps.

Jeremy

keystone 06-21-2007 03:16 PM

Re: favicon.ico
 
Thank you very much. I'll give that a shot.
Pete


All times are GMT -8. The time now is 02:08 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.