Site Icon

Reply

Join Date: Jan 2005
Posts: 32
Reputation: Mighty_Squid is an unknown quantity at this point 
Solved Threads: 0
Mighty_Squid Mighty_Squid is offline Offline
Light Poster

Site Icon

 
0
  #1
Jan 29th, 2005
This is a simple thing but I havn't found it by searching so I will just ask.

I am not sure if this is a php code but since my CMS (e107) is written in it I felt I should ask here.

So the little icon you get in the Firefox tab or when bookmark a page in IE, how do you do that? I know how to make a little icon but what is the code?

I see Daniweb has one.

Reply With Quote Quick reply to this message  
Join Date: Jan 2005
Posts: 147
Reputation: steveneven is an unknown quantity at this point 
Solved Threads: 8
steveneven's Avatar
steveneven steveneven is offline Offline
Junior Poster

Re: Site Icon

 
0
  #2
Jan 29th, 2005
Hello.

place an icon in your web directory called

  1. favicon.ico

and stick this line in the <head> of your HTML

  1. <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />

check this page out for more

SE (Dave)
insert something here
Reply With Quote Quick reply to this message  
Join Date: Jan 2005
Posts: 32
Reputation: Mighty_Squid is an unknown quantity at this point 
Solved Threads: 0
Mighty_Squid Mighty_Squid is offline Offline
Light Poster

Re: Site Icon

 
0
  #3
Jan 29th, 2005
The right search term makes all the difference. I didn't know what what it was called.

Thanks you for the code for and the link!!!
Reply With Quote Quick reply to this message  
Join Date: Jan 2005
Posts: 147
Reputation: steveneven is an unknown quantity at this point 
Solved Threads: 8
steveneven's Avatar
steveneven steveneven is offline Offline
Junior Poster

Re: Site Icon

 
0
  #4
Jan 29th, 2005
no probs.

SE
insert something here
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 196
Reputation: mikeSQL is an unknown quantity at this point 
Solved Threads: 3
mikeSQL's Avatar
mikeSQL mikeSQL is offline Offline
Junior Poster

Re: Site Icon

 
0
  #5
Jan 30th, 2005
Or we can just be simple with PHP and make it like the cool way like this:

[PHP]
if (file_exists("THE LOCATION OF IT/favicon.ico")) {
echo "<link REL=\"shortcut icon\" HREF=\"THE LOCATION OF IT/favicon.ico\" TYPE=\"image/x-icon\">\n";
}
[/PHP] :rolleyes:
Thats for Danielle, j/k!!:o
dynastyCODERS#1 when it comes to Programming Tutorials, Database designs and discussions, Operating Systems, you name it, check us out and drop us a line to tell us your opinions on any and everything in mind!;)
Reply With Quote Quick reply to this message  
Join Date: Jan 2005
Posts: 32
Reputation: Mighty_Squid is an unknown quantity at this point 
Solved Threads: 0
Mighty_Squid Mighty_Squid is offline Offline
Light Poster

Re: Site Icon

 
0
  #6
Jan 30th, 2005
Will that work better? I use e107 for my CMS.

I put the favicon.ico in and used the html but it's really hit or miss if it shows up.
Reply With Quote Quick reply to this message  
Join Date: Oct 2004
Posts: 348
Reputation: paradox814 is an unknown quantity at this point 
Solved Threads: 4
paradox814's Avatar
paradox814 paradox814 is offline Offline
Posting Whiz

Re: Site Icon

 
0
  #7
Jan 31st, 2005
make sure your favicon.ico is a 16x16 pixel image
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the PHP Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC