Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Website Design Forum


You are currently viewing our Website Design Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Old 06-29-2011, 08:11 PM Using Favicons
Skilled Talker

Posts: 51
Name: Mark Strobel
Trades: 0
I am exploring the use of favicons on my site. My site, http://www.strongfamilies.us, is in php. I just placed a favicon on the main page. It is supposed to animate. After placing the favicon code only on the main page, it appears instantly on all the pages of my site without animation as viewed through all the major browsers except for FF. In FF, it only appears on the main page. It also animates on FF.

Since my site is in php, is there a way that I could add this favicon code to some file within the Includes folder so that it appears on all the pages at once without me having to add the code to each individual page in order for it to appear in FF and intimate in all the other browsers?

Thanks.
MarkStrobel3367 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 06-30-2011, 04:37 AM Re: Using Favicons
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,391
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Clear your browser cache or use Ctrl+F5 to refresh all your pages.

Just having the file called favicon.ico in the root of the folder will be sufficient for all browsers.
Quote:
Since my site is in php, is there a way that I could add this favicon code to some file within the Includes folder
If you have an include for the head section of the pages add this code to it;
HTML Code:
<link rel="shortcut icon" href="favicon.ico">
<link rel="shortcut icon" href="favicon.gif">
the browsers that allow animated icons will use the gif and all others should use the icon.


Infernet Exploder still does NOT support animated gifs as favicons, and I believe that Firefox is the only browser that does.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 06-30-2011, 04:14 PM Re: Using Favicons
Skilled Talker

Posts: 51
Name: Mark Strobel
Trades: 0
Hi, Chris. Thank you for your reply. I still cannot figure out which file to insert the code within the Includes folder. I have several header files:

header.php
ef_header.php
header-noform.php

I also have several files ending with css. I've looked through all of the above header files and I cannot find a place to insert the favicon code. Any suggestions? Thanks.
MarkStrobel3367 is offline
Reply With Quote
View Public Profile
 
Old 06-30-2011, 04:16 PM Re: Using Favicons
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,391
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Find the file that has the <head> or </head> tags in it
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 06-30-2011, 04:34 PM Re: Using Favicons
Skilled Talker

Posts: 51
Name: Mark Strobel
Trades: 0
Hi Chris. I just searched each file within the Includes folder for 'head'. This word doesn't appear in any of the files. Am I looking in the wrong folder? Thanks.
MarkStrobel3367 is offline
Reply With Quote
View Public Profile
 
Old 06-30-2011, 04:52 PM Re: Using Favicons
Digital Friend's Avatar
...

Posts: 2,017
Name: Marc
Location: The Caribbean
Trades: 0
Quote:
Originally Posted by MarkStrobel3367 View Post
Hi Chris. I just searched each file within the Includes folder for 'head'. This word doesn't appear in any of the files. Am I looking in the wrong folder? Thanks.
Try searching for a file with contents similar to this below :

HTML Code:
<meta name="generator" content="HTML Tidy for Linux (vers 6 November 2007), see www.w3.org">
<title>Building Strong Families National Seminars - Online parenting classes, Bullying conference</title>
<meta name="description" content="Building Strong Families National Seminars facilitates powerful educational conferences, parenting webinars, and family-related products with topics geared toward strengthening, empowering, and enhancing the family, schools, and the community.">
<meta name="keywords" content="online parenting classes, teaching children discipline, bullying seminars, bullying conference, teaching parenting classes, parenting advice on children with behavioral problems, teaching discipline">
<meta name="copyright" content="Building Strong Families National Seminars - 2008">
<meta name="author" content="Building Strong Families National Seminars">
<meta name="email" content="Info@StrongFamilies.us">
<meta name="Distribution" content="Global">
<meta name="Rating" content="General">
<meta name="Robots" content="INDEX,FOLLOW">
<meta name="Revisit-after" content="7 Days"><link href="/includes/general.css" rel="stylesheet" type="text/css" /><link href="/includes/layout.css" rel="stylesheet" type="text/css" /><link href="/includes/nav.css" rel="stylesheet" type="text/css" />
<style type="text/css">
 span.c4 {font-family:Geneva,Arial,Helvetica,sans-serif;font-size:9px;color:#000000}
 a.c3 {font-family:Geneva,Arial,Helvetica,sans-serif;font-size:9px;color:#000000}
 div.c2 {text-align: center}
 p.c1 {text-align: left}
</style>
Edited :

The contents of the <head> tag can be in one of the files in the includes folder.
__________________
Blackberry Torch - Make it your next smartphone, or we'll find you. <_<

Last edited by Digital Friend; 06-30-2011 at 04:55 PM..
Digital Friend is offline
Reply With Quote
View Public Profile
 
Old 06-30-2011, 05:00 PM Re: Using Favicons
Skilled Talker

Posts: 51
Name: Mark Strobel
Trades: 0
No. I cannot find and codes similar to the one above on any file within the Includes folder. I believe that I added the meta codes manually per page.
MarkStrobel3367 is offline
Reply With Quote
View Public Profile
 
Old 06-30-2011, 05:11 PM Re: Using Favicons
C0ldf1re's Avatar
Banned (by the Yankees)

Posts: 3,081
Name: Michael Caine (look alike). *Sic semper tyrannis*
Location: Chelsea, England. Broke all 10 Commandments.
Trades: 0
Quote:
Originally Posted by chrishirst View Post
... If you have an include for the head section of the pages add this code to it...
And that was exactly the code that I could not find anywhere else. Thanks, Chris!
__________________

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE
C0ldf1re is offline
Reply With Quote
View Public Profile
 
Old 06-30-2011, 05:42 PM Re: Using Favicons
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,391
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Quote:
Originally Posted by MarkStrobel3367 View Post
Hi Chris. I just searched each file within the Includes folder for 'head'. This word doesn't appear in any of the files. Am I looking in the wrong folder? Thanks.
Then it may be scripted.

Take a look at the rendered HTML source and look for a footprint in the document head that you can use to indentify the section in the PHP code that generates the document sections.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 06-30-2011, 06:02 PM Re: Using Favicons
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,391
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
BTW

You can remove the "revisit-after" meta element completely. The element was created by Vancouver Webpages (long since defunct) for their own search engine. No Internet search engine has ever used it. But if they did, it would be an instruction NOT to return for at least the period specified in the content attribute.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 06-30-2011, 06:46 PM Re: Using Favicons
Skilled Talker

Posts: 51
Name: Mark Strobel
Trades: 0
Hi Chris,

The following script is what appears on all my pages that references the Includes folder:

<link href="/includes/general.css" rel="stylesheet" type="text/css" /><link href="/includes/layout.css" rel="stylesheet" type="text/css" /><link href="/includes/nav.css" rel="stylesheet" type="text/css" />
<style type="text/css">

I searched general.css, layout.css, and nav.css and I cannot find the word 'head' in it. Do you have any further suggestions?
MarkStrobel3367 is offline
Reply With Quote
View Public Profile
 
Old 07-01-2011, 02:05 AM Re: Using Favicons
Skilled Talker

Posts: 51
Name: Mark Strobel
Trades: 0
Hi Chris,

Are you saying that I should add the favicon code to either general.css, layout.css, or nav.css? If so, which one should I place the code on? Thanks.
MarkStrobel3367 is offline
Reply With Quote
View Public Profile
 
Old 07-01-2011, 03:29 AM Re: Using Favicons
Ekushey's Avatar
Novice Talker

Posts: 12
Name: Russell John
Location: Bangladesh
Trades: 0
@MarkStrobel3367

This is your header section, this is where your faviocon code will go -- anywhere before </head>.
Code:
<head> <meta name="generator" content="HTML Tidy for Linux (vers 6 November 2007), see www.w3.org"> <title>Building Strong Families National Seminars - Online parenting classes, Bullying conference</title> <meta name="description" content="Building Strong Families National Seminars facilitates powerful educational conferences, parenting webinars, and family-related products with topics geared toward strengthening, empowering, and enhancing the family, schools, and the community."> <meta name="keywords" content="online parenting classes, teaching children discipline, bullying seminars, bullying conference, teaching parenting classes, parenting advice on children with behavioral problems, teaching discipline"> <meta name="copyright" content="Building Strong Families National Seminars - 2008"> <meta name="author" content="Building Strong Families National Seminars"> <meta name="email" content="Info@StrongFamilies.us"> <meta name="Distribution" content="Global"> <meta name="Rating" content="General"> <meta name="Robots" content="INDEX,FOLLOW"> <meta name="Revisit-after" content="7 Days"><link href="/includes/general.css" rel="stylesheet" type="text/css" /><link href="/includes/layout.css" rel="stylesheet" type="text/css" /><link href="/includes/nav.css" rel="stylesheet" type="text/css" /> <style type="text/css">  span.c4 {font-family:Geneva,Arial,Helvetica,sans-serif;font-size:9px;color:#000000}  a.c3 {font-family:Geneva,Arial,Helvetica,sans-serif;font-size:9px;color:#000000}  div.c2 {text-align: center}  p.c1 {text-align: left} </style> </head>
You should be able to find the code on header.php (paste it here if you want to), and not on your CSS files. You might also want to search for file name meta*.php if the code block is not on header.php.

Last edited by Ekushey; 07-01-2011 at 03:31 AM..
Ekushey is offline
Reply With Quote
View Public Profile Visit Ekushey's homepage!
 
Old 07-02-2011, 02:28 PM Re: Using Favicons
Skilled Talker

Posts: 51
Name: Mark Strobel
Trades: 0
Thank you so much for all your recommendations. I added the favicon code to header.php and now the favicon appears on all the pages. The only issue that I have is that it is only animated while viewing the site with FF. I am not concerned about this issue though, as long as the favicon appears on all the pages. This issue is now resolved!!
MarkStrobel3367 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Using Favicons
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.56922 seconds with 12 queries