Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

favicon.ico

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #11  
Old 03-06-2008, 09:56 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: favicon.ico

No, there is probably one for the customer side in customer/home.tpl, while the admin side is single/home.tpl.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #12  
Old 03-06-2008, 01:37 PM
  boomobile's Avatar 
boomobile boomobile is offline
 

eXpert
  
Join Date: Oct 2007
Posts: 306
 

Default Re: favicon.ico

Admin dosen't have the line: <link rel="shortcut icon" href="favicon.ico" />
But the customer side does. So I'm thinkin that the customer side is being directed somewhere else besides the root dir. Any thoughts?

Also when I place the line: <link rel="shortcut icon" href="favicon.ico" /> the icon dissapears from the customer side, no effect to admin side.
__________________
X Cart Ver: 4.0.14
MySQL4 4.1.22
phpMyAdmin 2.6.0
Pearl 5.6.0
PHP 5.2.1
Python 2.2.2
Server: Apache/2.0.52 (Red Hat)
OS: Linux
www.cleanlinesurf.com
1. Customer Rewards Points
2. One Page Checkout (altercart)
3. Free shipping orders over $50 as Real Time Shipping
4. Gift Certificates
-----------------------------------------------
Graphic Design | Boomobile Design, LLC
www.boomobile.com
Reply With Quote
  #13  
Old 03-06-2008, 01:57 PM
  kube's Avatar 
kube kube is offline
 

X-Adept
  
Join Date: Sep 2005
Location: London: a small place East of Wales
Posts: 529
 

Default Re: favicon.ico

Quote:
Originally Posted by karen@boomobile.com
Admin dosen't have the line: <link rel="shortcut icon" href="favicon.ico" />

Is this from viewing your resulting source via the browser (view source)?

Also, locate the differing favicons from viewing the customer's source and admin's source. If there are no href="favicon.ico" (or something similar) in one or the other then usually your Browser is playing tricks with you. Some browsers have a grey area regarding the favicon.

If from viewing the source you find 2 different favicon locations you should be getting closer to resolving your problem.

Hope this helps.
__________________
Doms
kube v4.1.9
Reply With Quote
  #14  
Old 03-06-2008, 02:02 PM
  boomobile's Avatar 
boomobile boomobile is offline
 

eXpert
  
Join Date: Oct 2007
Posts: 306
 

Default Re: favicon.ico

I use a html editor to view the actual files, not from the browser.

Both sides display an icon, but they are different. I uploaded a new icon, but the old one dislpays on the customer side still. I'm still trying to locate where the icon is being pulled from.
__________________
X Cart Ver: 4.0.14
MySQL4 4.1.22
phpMyAdmin 2.6.0
Pearl 5.6.0
PHP 5.2.1
Python 2.2.2
Server: Apache/2.0.52 (Red Hat)
OS: Linux
www.cleanlinesurf.com
1. Customer Rewards Points
2. One Page Checkout (altercart)
3. Free shipping orders over $50 as Real Time Shipping
4. Gift Certificates
-----------------------------------------------
Graphic Design | Boomobile Design, LLC
www.boomobile.com
Reply With Quote
  #15  
Old 03-06-2008, 02:09 PM
  kube's Avatar 
kube kube is offline
 

X-Adept
  
Join Date: Sep 2005
Location: London: a small place East of Wales
Posts: 529
 

Default Re: favicon.ico

If the html editor isn't helping you locate the favicons then do a View Source from the browser. So when the source comes up do a CTRL+F (Find) and search for .ico or favicon. Hopefully, you should find out if they exist or not and where they are located in relation to your server. You can then proceed in finding it within the .tpls somewhere
__________________
Doms
kube v4.1.9
Reply With Quote
  #16  
Old 03-06-2008, 02:14 PM
  boomobile's Avatar 
boomobile boomobile is offline
 

eXpert
  
Join Date: Oct 2007
Posts: 306
 

Default Re: favicon.ico

It's not pulling favicon at all, so now I'm really confused...
__________________
X Cart Ver: 4.0.14
MySQL4 4.1.22
phpMyAdmin 2.6.0
Pearl 5.6.0
PHP 5.2.1
Python 2.2.2
Server: Apache/2.0.52 (Red Hat)
OS: Linux
www.cleanlinesurf.com
1. Customer Rewards Points
2. One Page Checkout (altercart)
3. Free shipping orders over $50 as Real Time Shipping
4. Gift Certificates
-----------------------------------------------
Graphic Design | Boomobile Design, LLC
www.boomobile.com
Reply With Quote
  #17  
Old 03-06-2008, 02:39 PM
  kube's Avatar 
kube kube is offline
 

X-Adept
  
Join Date: Sep 2005
Location: London: a small place East of Wales
Posts: 529
 

Default Re: favicon.ico

Try another browser and see if it is doing the same thing? I think this is the grey area I mentioned but it is still a while yet to finding out what is going on.

Can you confirm there is a favicon.ico you have uploaded that is located in your root folder on your server? (check for correct extension, name, etc.).

and if so try in the <head>...</head> part of your .tpl with...

<link href="http://www.your_domain_here.com/favicon.ico" rel="shortcut icon" />

And try it in a different browser again (preferably not Internet Explorer)
__________________
Doms
kube v4.1.9
Reply With Quote
  #18  
Old 03-06-2008, 02:51 PM
  boomobile's Avatar 
boomobile boomobile is offline
 

eXpert
  
Join Date: Oct 2007
Posts: 306
 

Default Re: favicon.ico

OK i checked using the following: Netscape, Firefox, IE. It's doing the same thing in all of them. I have a correctly formatted ico image named favicon.ico (no it's not a gif, or a jpeg or any other format) placed in the root directory. I will do a search of the server now to see if there is a duplicate favicon.ico stashed somewhere...
__________________
X Cart Ver: 4.0.14
MySQL4 4.1.22
phpMyAdmin 2.6.0
Pearl 5.6.0
PHP 5.2.1
Python 2.2.2
Server: Apache/2.0.52 (Red Hat)
OS: Linux
www.cleanlinesurf.com
1. Customer Rewards Points
2. One Page Checkout (altercart)
3. Free shipping orders over $50 as Real Time Shipping
4. Gift Certificates
-----------------------------------------------
Graphic Design | Boomobile Design, LLC
www.boomobile.com
Reply With Quote
  #19  
Old 03-06-2008, 03:03 PM
  boomobile's Avatar 
boomobile boomobile is offline
 

eXpert
  
Join Date: Oct 2007
Posts: 306
 

Default Re: favicon.ico

OK can't find any duplicates of favicon.ico
__________________
X Cart Ver: 4.0.14
MySQL4 4.1.22
phpMyAdmin 2.6.0
Pearl 5.6.0
PHP 5.2.1
Python 2.2.2
Server: Apache/2.0.52 (Red Hat)
OS: Linux
www.cleanlinesurf.com
1. Customer Rewards Points
2. One Page Checkout (altercart)
3. Free shipping orders over $50 as Real Time Shipping
4. Gift Certificates
-----------------------------------------------
Graphic Design | Boomobile Design, LLC
www.boomobile.com
Reply With Quote
  #20  
Old 03-06-2008, 03:19 PM
  kube's Avatar 
kube kube is offline
 

X-Adept
  
Join Date: Sep 2005
Location: London: a small place East of Wales
Posts: 529
 

Default Re: favicon.ico

Cool...

If it isn't coming up in source and you have hard-coded it in your tpl perhaps you might have to refresh the x-cart cache? Make sure the changes are occurring via the View Source.

If the favicon goes blank again and it is viewable in source that could also mean a number of things. A couple most likely reasons are that either it isn't located rightly or the favicon is corrupted. Copy the favicon's url from source and paste into the browser's address bar (and do this in Internet Explorer) and see if it comes up as an image. If you get an error then try locating the url of your favicon via the address bar and, when you find it, paste the good url into your tpl that way.

Other things to note: Remember, it doesn't have to be called favicon and in some browsers it doesn't have to be in the HTML. Some browsers sometimes by default looks for favicon.ico. You could try looking for "shortcut icon" or looking through all the <link in the head section of the HTML if you suspect there is another favicon lingering about.
__________________
Doms
kube v4.1.9
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 11:46 AM.

   

 
X-Cart forums © 2001-2020