Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > DEVELOPMENT > Template design and Front-End Code

Post Reply
 
Thread Tools
  #1  
Old 02-20-2008, 08:56 PM
mgd711's Avatar
mgd711 Offline
pp veteran
 
Join Date: Jun 2007
Posts: 56
Send a message via MSN to mgd711 Send a message via Yahoo to mgd711 Send a message via Skype™ to mgd711
favicon

I created a favicon.ico for my site, stuck it in the root and it show's up fine in Opera but not in Safari or IE.

The site I used Favicon also gives some code to put in index page but as the index page is .php and not html it dosen't work.

Where do I put this code to get the icon to show in IE?



Mike
__________________
The Fiery Scotsman
MGD Photography
Reply With Quote
  #2  
Old 02-20-2008, 09:00 PM
EcoSee Offline
pp veteran
 
Join Date: Nov 2007
Posts: 63
placement

You can put html code in a php file. It just has to be place before the starter <? php
Reply With Quote
  #3  
Old 02-20-2008, 09:07 PM
mgd711's Avatar
mgd711 Offline
pp veteran
 
Join Date: Jun 2007
Posts: 56
Send a message via MSN to mgd711 Send a message via Yahoo to mgd711 Send a message via Skype™ to mgd711
Thanks EcoSee, at least its showing the page now, before it reported errors but the icon still does not show in IE.



Mike

Opps.... I'm wrong, it actually screwed up the template, the footer was huge, just didn't see it as I hadn't scrolled down.
__________________
The Fiery Scotsman
MGD Photography
Reply With Quote
  #4  
Old 02-20-2008, 09:18 PM
mgd711's Avatar
mgd711 Offline
pp veteran
 
Join Date: Jun 2007
Posts: 56
Send a message via MSN to mgd711 Send a message via Yahoo to mgd711 Send a message via Skype™ to mgd711
I found this......

Quote:
Browser Issues: Microsoft IE 6 for Windows will not display the favicon until the URL has been added to the favorites, and Safari for the MAC will not display an updated favicon until the browser cache has been cleared. But choosing ‘empty cache’ from the menu won't help because Safari stores favicons in a separate cache.
so I maybe trying to flog a dead horse, unless anything has changed with IE7.



Mike
__________________
The Fiery Scotsman
MGD Photography
Reply With Quote
  #5  
Old 02-20-2008, 11:14 PM
dhdesign's Avatar
dhdesign Offline
pixelpost guru
 
Join Date: Mar 2007
Location: Ohio
Posts: 431
You need to add the <link....> code for the favicon between the opening and closing head tags in your template files (image_template.html, browse_template.html, about_template.html, etc.), not in the PP index.php file.

You are correct though about IE not displaying it unless it's been bookmarked.
__________________
My photoblog: KP Images
Reply With Quote
  #6  
Old 02-20-2008, 11:28 PM
jaywilliams's Avatar
jaywilliams+ Offline
Team Pixelpost
 
Join Date: Sep 2005
Posts: 1,003
Send a message via AIM to jaywilliams Send a message via MSN to jaywilliams Send a message via Yahoo to jaywilliams Send a message via Skype™ to jaywilliams
It's working fine for me.



If you don't see it, it's probably due to your browser's cache.
Simply empty your cache and try again.

You only need to use the <link...> tag when you are specifying a favicon that is not in the root site directory.
__________________
Jay Williams | A Different View
Reply With Quote
  #7  
Old 02-21-2008, 01:16 AM
mgd711's Avatar
mgd711 Offline
pp veteran
 
Join Date: Jun 2007
Posts: 56
Send a message via MSN to mgd711 Send a message via Yahoo to mgd711 Send a message via Skype™ to mgd711
Smile

Thanks for the info.......



Mike
__________________
The Fiery Scotsman
MGD Photography
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 12:46 PM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. | Style Design: d3 designs