7 | | This plugin lists the links to multiple projects in a scalable, indexed, table-oriented format, given an environment parent directory, such as the {{{PythonOption TracEnvParentDir}}} directive in Trac's Apache configuration. This macro was created to address the problem of trying to host multiple Trac instances within a single site. |
| 7 | This plugin lists the links to multiple projects in a scalable, indexed, table-oriented format. The projects are listed relative to a given environment parent directory, such as the {{{PythonOption TracEnvParentDir}}} directive in Trac's Apache configuration. |
| 8 | |
| 9 | A sample call to the macro: |
| 10 | {{{ |
| 11 | [[ListTracProjects()]] |
| 12 | }}} |
| 13 | |
| 14 | You must edit and change the variable `ENV_PARENT_DIR` (or `DIR` for the 0.11 branch) in the script to point to your environment's parent directory, eg {{{/usr/local/www/trac/}}}. |
| 15 | |
| 16 | The 0.11 version, which is quite simple for now, seems to work with 0.12 too. |
| 17 | |
| 18 | This macro was created to address the problem of trying to host multiple Trac instances within a single site. |