Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Favicon in K2  (Read 5687 times)

0 Members and 1 Guest are viewing this topic.

NiceTrainers

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Favicon in K2
« 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.
« Last Edit: October 26, 2006, 04:20:54 pm by Sami »
Logged

Gizmo

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1015
    • BullsEye Photos
Re: Favicon in K2
« Reply #1 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.
Logged
Did you read the manual first???? Taking 2 minutes to backup your files can save you hours of wondering what you screwed up.
Billy Bullock - BullsEyePhotos Blog of Indecision

NiceTrainers

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Favicon in K2
« Reply #2 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
Logged

Gizmo

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1015
    • BullsEye Photos
Re: Favicon in K2
« Reply #3 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
Logged
Did you read the manual first???? Taking 2 minutes to backup your files can save you hours of wondering what you screwed up.
Billy Bullock - BullsEyePhotos Blog of Indecision
Pages: [1]   Go Up
 

Page created in 0.034 seconds with 21 queries.