coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: NiceTrainers on October 26, 2006, 10:32:13 AM

Title: Favicon in K2
Post by: NiceTrainers on October 26, 2006, 10:32:13 AM
Having problems getting my favicon appear in using the K2 theme.

I've edited the "template" file to include the following code and uploaded my favicon into the route and specific folders, but it refuses to appear

head>
<LINK REL="SHORTCUT ICON" HREF="http://www.myurl.com/favicon.ico" />

I've tried it without specifying the url as well and no luck.  I've tried it specifying the url and naming the folder and no luck.

Would appreciate some help.  Cheers.
Title: Re: Favicon in K2
Post by: Gizmo on October 26, 2006, 12:42:05 PM
Try putting the favicon.ico into the Coppermine root directory. You shouldn't need to edit the template.html as the browser will eventually find it.
Title: Re: Favicon in K2
Post by: NiceTrainers on October 26, 2006, 12:49:15 PM
I did try that, but it wasn't working.

However...

I have just put the favicon.ico in the "themes" folder and made the code thus:

<LINK REL="SHORTCUT ICON" HREF="/themes/favicon.ico" />

and its worked !  :-\ ;D
Title: Re: Favicon in K2
Post by: Gizmo on October 26, 2006, 01:09:33 PM
Very cool! Thanks for reporting back your solution so that others will benefit from your experience.

Cheers,

Gizmo