Skip to main content

Create a favicon for your APEX 4.0 application

Probably totally superfluous, but a "favicon" is the little picture that shows up in your browser tab or bookmark list - like the example above. The APEX Page Templates support this nice feature by these two lines in the Header property :


So if you replace that default favicon file - which is not so cool - with your own, then you'll get something like the picture above. However, that file (on your virtual /i/ directory on a standard install) may be overwritten by the APEX default icon when upgrading or patching! That favicon will then be used for all your APEX applications A more flexible alternative is to go through all page templates and change the reference to your own favorite icon file to #APP_IMAGES#.ico (or to something like #IMAGE_PREFIX#my-icons/.ico. And of course upload a nice little icon for every application...

Comments

Stew said…
Slick! As you said, not that important in the grand scheme of things, but still adds value to a site.

I just implemented in one of my sites.

Thanks!
Anonymous said…
I have created a bookmark link in the page template, like so:

{a href="javascript:window.external.AddFavorite('http://apex.gov:7780/', 'LINK')">
Bookmark Site{/a>

How would I put the shortcut icon in this line of code.

By the way I had to put a squiggly brace in front of the a's and take out my span.

This bookmark link only works in IE, not in FireFox.
Roel said…
See (your?) OTN Forum thread: http://forums.oracle.com/forums/thread.jspa?threadID=2130413&tstart=0