TracShortcutIconPlugin 0.1.6991

Configurables shortcut icons for Trac
TracShortcutIconPlugin is a Trac plug-in that provides a request handler for the widely used shortcut icon URL path /favicon.ico. Especially MS Internet Explorer seems to need the shortcut icon located at this position. The plug-in is also able to insert (X)HTML link tags which point standard compatible browsers to this address.

Please be aware that this icons can also be configured over the Trac standard config file as described in the TracInterfaceCustomization wiki, but forcing the Trac server admin to put the icon in the document root of the host in order to be compatible with the MS IE.

Configuration:


To enable this plug-in add or change the following into the config file (normally 'conf/trac.ini'):

[components]
tracshortcuticon.* = enabled

[shortcuticon]
handler = true
linkheader = true
iconpath = /local/path/on/trac/server/icon.png
mimetype = image/png

[project]
# Disable build-in handling of icons:
icon =


Usage:


Put the following settings in the trac.ini config file under the section [shortcuticon]:

handler = true|false
 Enables/disables request handler for /favicon.ico URL.

linkheader = true|false
 Enables/disables insertion of link tags which point to the icon.

iconpath = /local/path/on/trac/server/icon.png
 Local OS path (no URL) of the icon file on the Trac server. While some browser support PNG and GIF icons, some other only the MS ICO format. The icon should be 16x16 or 32x32 pixels in size.

mimetype = image/
 Overrides auto-detection by file extension of the mime-type.

Example:

[shortcuticon]
handler = true
linkheader = true
iconpath = /local/path/on/trac/server/icon.png
mimetype = image/png

[project]
# Disable build-in handling of icons:
icon =

last updated on:
November 4th, 2009, 8:57 GMT
price:
FREE!
developed by:
Martin Scharrer
license type:
GPL v3 
category:
ROOT \ Internet \ HTTP (WWW)

FREE!

In a hurry? Add it to your Download Basket!

user rating

UNRATED
0.0/5
 

0/5

Add your review!

SUBMIT