[SOLVED] How to make custom favicon CMSMS v1.8
Posted: Thu Jul 08, 2010 12:47 am
I would like to claim these steps below are worked.
1. Current CMSMS v1.8
2. Make your self .ico from http://www.html-kit.com/favicon
3. Go to CMSMS admin panel
Extensions » User Defined Tags » Edit User Defined Tag:
4. Create name ' favicon' and insert
5. Put in both favicon.ico and animated_favicon1.gif to the root, since i'm using xampp so i placed it at htdocs[1] folder and just in-case other copy to uploads/mytemplate[2] folder.
6. On Layout > Templates > Edit Template: mytemplate
And put the following two lines between html head tags in the template:
7. Extra, if still not show up. On your browser make sure clear cache restart browser or restart computer if necessary.
1. Current CMSMS v1.8
2. Make your self .ico from http://www.html-kit.com/favicon
3. Go to CMSMS admin panel
Extensions » User Defined Tags » Edit User Defined Tag:
4. Create name ' favicon' and insert
Code: Select all
if(isset($params['static']))
echo '<link rel="shortcut icon" href="'.$params['static'].'" type="image/x-icon" />'."\n";
if(isset($params['animated']))
echo '<link rel="icon" href="'.$params['animated'].'" type="image/gif" />'."\n";6. On Layout > Templates > Edit Template: mytemplate
And put the following two lines between html head tags in the template:
Code: Select all
[1]
<head>
<link rel="shortcut icon" href="favicon.ico">
<link rel="icon" type="image/gif" href="animated_favicon1.gif">
....
</head>Code: Select all
[2]
<head>
<link rel="shortcut icon" href="uploads/mytemplate/favicon.ico">
<link rel="icon" type="image/gif" href="uploads/mytemplate/animated_favicon1.gif">
....
</head>