Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Other - Discussion
Author Message
Tizwit
Involved
Involved



Joined: Aug 29, 2004
Posts: 324
Location: New Mexico

PostPosted: Wed Aug 08, 2007 11:29 pm Reply with quote

I was wondering how to change the picture up next to the URL and in the favorites when saved.

_________________
Brian [ Only registered users can see links on this board! Get registered or login! ]
Helping the Children in the NM Children's Hospital 
View user's profile Send private message Visit poster's website
kguske
Site Admin



Joined: Jun 04, 2004
Posts: 6432

PostPosted: Thu Aug 09, 2007 6:24 am Reply with quote

Put a favicon.ico file in your nuke root directory. You can find several online tools to generate this file based on standard images. I use the one from Dynamic Drive.

Also, you might need to add a reference to it in your theme, but I would try installing it in the root directory first.

_________________
I search, therefore I exist...
nukeSEO - nukeFEED - nukePIE - nukeSPAM - nukeWYSIWYG
 
View user's profile Send private message
montego
Site Admin



Joined: Aug 29, 2004
Posts: 9457
Location: Arizona

PostPosted: Thu Aug 09, 2007 7:21 am Reply with quote

Hey, kguske, awesome link! I just created two other favicons for a few sites. No more trying to do it manually. I love it.

_________________
Where Do YOU Stand?
HTML Newsletter::ShortLinks::Mailer::Downloads and more... 
View user's profile Send private message Visit poster's website
Gremmie
Former Moderator in Good Standing



Joined: Apr 06, 2006
Posts: 2415
Location: Iowa, USA

PostPosted: Thu Aug 09, 2007 7:01 pm Reply with quote

Cool! And just in case you are using RavenNuke, just drop the favicon.ico file in your themes/<yourtheme>/images folder and you are good to go!

_________________
GCalendar - An Event Calendar for PHP-Nuke
Member_Map - A Google Maps Nuke Module 
View user's profile Send private message
montego







PostPosted: Fri Aug 10, 2007 5:56 am Reply with quote

As I was creating new favicon.ico files for my sites, I decided to mess around a bit with it. I removed my duplicate favicon.ico files within my theme image directories and put only one in the domain root. Then, I used a custom_header.php script within includes/custom_files directory with this line in it:

Code:
echo '<link rel="shortcut icon" href="/favicon.ico" />';


I am finding now that all browsers will pick up the graphic right away and I no longer have to have duplicates. I had also found that FireFox would not pick it up without the <link> tag.

Just thought I'd share since I think I may have been the one long back to mention needing a file in multiple places.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Other - Discussion

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©