This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes JForum and the fly likes change favicon Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Products » JForum
Bookmark "change favicon" Watch "change favicon" New topic
Author

change favicon

Alan Shiers
Ranch Hand

Joined: Sep 24, 2003
Posts: 237
Hi there,

I've downloaded JForum and trying to get familiar working the configurations. The address field of my browser is defaulting to the Tomcat favicon icon and I want to change it. Is it possible to change it?

Alan
robert crowther
Ranch Hand

Joined: Oct 19, 2013
Posts: 41
    
  10
Must say I'm intrigued. Building a forum is a big business, which is why, I suspect, even very professional forums don't have them...

Dump your myImage.ico into the /images folder.

Add this in the <head> of webContent/templates/myTemplate/header.htm



These paths may need to be adjusted depending if you use source, binary, custom templates, etc,

There is a current web recommendation to use profiles (not simply dumping the favicon in root, which apparently works). Code above is kinda halfway there,

http://www.w3.org/2005/10/howto-favicon
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41631
    
  55
Assuming that JForum runs as the ROOT web app, dumping favicon.ico into the root directory of the server would take care of it.

If it's just one web app of several, you'd need to take the approach mentioned by Robert and change the header template.


Ping & DNS - my free Android networking tools app
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41631
    
  55
robert crowther wrote:Building a forum is a big business, which is why, I suspect, even very professional forums don't have them.

What do you mean by that?
robert crowther
Ranch Hand

Joined: Oct 19, 2013
Posts: 41
    
  10
Not proven, but my experience is that, of the possible forms of websites, forums often have limited theming , an indication of which is a lack of a Favicon. Favicons are often described in tutorials and the like as a quirk, or a "slick" or "professional" touch. I once wrote to a forum asking them to add one (which they did the next morning) because I couldn't distinguish their forum from other sites. So I rate them. As to why forums, in my experience, are like this, that's speculative, a separate thread. I was upvoting tiredness...
Alan Shiers
Ranch Hand

Joined: Sep 24, 2003
Posts: 237
Thanks for the responses fellas. I was able to work it out.

Alan
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: change favicon