ListTracProjects
Description
Provided an environment parent directory (like the PythonOption TracEnvParentDir directive in Trac's apache configuration), this will list links to multiple projects in a scalable, indexed, table-oriented format. This macro was created to address the problem of trying to host multiple Trac instances within a single site.
This macro is an updated incarnation of the original by robert@exa-omicron.nl, located in the MacroBazaar.
Portions of this script were copied from trac.web.main.py. Authors:
- Christopher Lenz <cmlenz@gmx.de>
- Matthew Good <trac@matt-good.net>
Bugs/Feature Requests
Existing bugs and feature requests for ListTracProjectsMacro are here.
If you have any issues, create a new ticket.
Download
Download the zipped source from here.
Source
You can check out ListTracProjectsMacro from here using Subversion, or browse the source with Trac.
Example
You must edit and change the variable ENV_PARENT_DIR in the script to point to your environment's parent directory, e.g. /usr/local/www/trac/.
A sample call to the macro:
[[ListTracProjects()]]
Recent Changes
[2022] by mathomas on 02/22/07 23:23:40
Included import for to_unicode
[1986] by mathomas on 02/16/07 18:54:15
initial import of ListTracProjects? macro
[1985] by mathomas on 02/16/07 18:51:43
New hack ListTracProjectsMacro, created by mathomas
Author/Contributors
Author: mathomas
Contributors:
Attachments
- ListTracProjects.py (0.7 kB) -
A Trac 0.11 port of the original ListTracProjects?.py Macro.
, added by anonymous on 08/09/08 22:41:42.