| 103 | |
| 104 | === Customizing Trac === |
| 105 | ''Just dropping in a few notes. --Pat''[[br]] |
| 106 | Trac and Trac plugins are installed in:[[br]] |
| 107 | {{{ |
| 108 | /usr/local/lib/python2.6/dist-packages/ |
| 109 | }}} |
| 110 | Trac itself is: {{{Trac-0.12.1-py2.6.egg}}} |
| 111 | |
| 112 | The Eden Trac "project" is at:[[br]] |
| 113 | {{{ |
| 114 | /home/sahana/trac |
| 115 | }}} |
| 116 | |
| 117 | ==== Settings ==== |
| 118 | Many settings are available in: {{{/home/sahana/trac/conf/trac.ini}}}[[br]] |
| 119 | Some interface changes can be made here as well, e.g. icon, order of items in the top menu, labels for same (search for mainnav and metanav). |
| 120 | |
| 121 | ==== Interface ==== |
| 122 | http://trac.edgewall.org/wiki/TracInterfaceCustomization |
| 123 | * The official Trac means of customizing individual pages is to use Genshi xsl to replace items in the original pages, which are left untouched. The replacement is done in: {{{/home/sahana/trac/templates/site.html}}} |
| 124 | * One can also put entire replacement templates in {{{/home/sahana/trac/templates}}} but then one will have to merge these when Trac is updated. Putting entire templates here is problematic for plugins, which may define their own local data -- that won't be available outside the plugin context. |
| 125 | |
| 126 | ==== Plugins ==== |
| 127 | ''Watch this space...'' |
| 128 | |