Changes between Version 1 and Version 2 of TracInterfaceCustomization
- Timestamp:
- 21/09/2011 11:27:42 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracInterfaceCustomization
v1 v2 15 15 16 16 === Logo === 17 Change the `src` setting to `site/` followed by the name of your image file. The `width` and `height` settings should be modified to match your image's dimensions (the Trac chrome handler uses "`site/`" for files within the project directory `htdocs` and "`common/`" for the common ones). 17 Change the `src` setting to `site/` followed by the name of your image file. The `width` and `height` settings should be modified to match your image's dimensions (the Trac chrome handler uses "`site/`" for files within the project directory `htdocs` and "`common/`" for the common ones). Note that 'site/' is not a placeholder for your project name, it is the actual prefix that should be used (literally). For example, if your project is named 'sandbox', and the image file is 'red_logo.gif' then the 'src' setting would be 'site/red_logo.gif', not 'sandbox/red_logo.gif'. 18 18 19 19 {{{ … … 38 38 [project] 39 39 icon = /favicon.ico 40 }}} 41 42 Should your browser have issues with your favicon showing up in the address bar, you may put a "?" (less the quotation marks) after your favicon file extension. 43 44 {{{ 45 [project] 46 icon = /favicon.ico? 40 47 }}} 41 48 … … 165 172 Once you've created your custom template you will need to configure the webserver to tell Trac where the template is located (pls verify ... not yet changed to 0.11): 166 173 174 For [wiki:TracModWSGI mod_wsgi]: 175 {{{ 176 os.environ['TRAC_ENV_INDEX_TEMPLATE'] = '/path/to/template' 177 }}} 178 167 179 For [wiki:TracFastCgi FastCGI]: 168 180 {{{ … … 207 219 208 220 Trac caches templates in memory by default to improve performance. To apply a template you need to restart the server. 221 209 222 ---- 210 223 See also TracGuide, TracIni