, Guest!
Already a Member? Login or Register.

Menu



Showcase


Due to the volume of spam happening on our forums, posting is now restricted to verified members only.  If you're not verified, drop us a note with your username.

Home > FlexCMS Support Forum > User Help > Code Snippets > favicon logo in browser

FlexCMS Support Forum


favicon logo in browser
Started November 27, 2008 @ 7:24am by koen
Post Message 
koen


Posts: 15
 
favicon logo in browserNovember 27, 2008 @ 7:24am
Is it possible to use a favicon logo in the browser?
I have the 'html' code for do this in a html page, but is it also possible in my flexcms site?

 
DCSun
Administrator



Posts: 625
 
November 27, 2008 @ 8:43pm
Yes, that's possible and actually quite easy. Just add that code to your template (templates folder, then the named folder of the template you're using, then the template.php file) in the appropriate section (you'll see mostly HTML towards the bottom, add that in the HEAD section or wherever it's supposed to go for the various code you're adding).

For example:

Code

<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>'.$TemplateTags['title'].'</title>
<meta name="Description" content="'.$TemplateTags['description'].'">
<meta name="Keywords" content="'.$TemplateTags['keywords'].'">
<meta name="Author" content="'.$TemplateTags['author'].'">
<meta name="Generator" content="'.$TemplateTags['generator'].'">
<META NAME="Robots" CONTENT="INDEX,FOLLOW">
<META NAME="Rating" CONTENT="General">
<meta name="MSSmartTagsPreventParsing" content="TRUE">

<LINK REL="SHORTCUT ICON" HREF="'.$BaseURL.'/favicon.ico">

<style>

That would mean the image file would be called "favicon.ico", located in the root folder of your site.


David


FlexCMS v3.2 Has Been Released!
 

Last Edit: November 27, 2008 @ 9:00pm by DCSun
koen


Posts: 15
 
November 28, 2008 @ 5:55pm
Thanks
 

Post Message 




Try & Buy FeedForAll - Easy to use RSS Feed Creator - great for iTunes users!

MEMBERS




All Contents, Code, Scripts and Technologies Copyright 2003-2009 FlexCMS.
All Rights Reserved. Software License Agreement

Processing Time: 0.13124 seconds.
 
Management Login

Powered By FlexCMS
Powered By FlexCMS