Nicely display list of Trac projects
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 located in the MacroBazaar.
If you have any issues, create a new ticket.
Download the zipped source from here.
Copy the .py file into the plugins directory of your
Delete the corresponding .pyc file if exist (for upgrade).
Restart apache if applicable.
You must edit and change the variable ENV_PARENT_DIR (or DIR for 0.11 branch) in the script to point to your environment's parent directory, e.g. /usr/local/www/trac/.
0.11 version (which is quite simple for now) seems to work with 0.12 too.
A sample call to the macro:
-  by rjollos on 2013-11-19 07:24:38
Quick rewrite of macro. The options [projects] base_dir and [projects] base_url can be used to set the base path and url. If the base_url is not set, and the macro is called from one of the projects, it should determine the correct base_url. Refs #11382.
More testing is needed. Please report if you find any issues.
-  by rjollos on 2013-11-19 07:24:31
Replaced tabs with spaces.
-  by rjollos on 2010-08-28 05:28:55
Move ListTracProjects.py for 0.10 to 0.10 directory.