|
|
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 |
|
|
favicon logo in browser | November 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 | |
|
|
|
| |
|
|
| November 28, 2008 @ 5:55pm | Thanks |
|
|
|
|
|
|
|
|
|
| MEMBERS
|
|
|