Patch Trac to allow Arbitrary Project Properties


With this patch you can specify key-value pairs that will be passed on to your project listing template. To achieve this, it requires a new [project_info] stanza in your trac.ini file that acts as a dictionary of the key-value pairs.

Imagine you have trac.ini's for each project with data like:

short_name = my_project
status = active
order = 3

You can then iterate over them in your project listing template like:

<div class='incubator'>
    <div py:for='project in projects' py:if='"status") == "incubator"' class='project'>
        <a class='name' href='${project.href}'>${}</a> -
        <span class='description'>${project.description}</span>

You can do this inside each project too, with the ArbitraryOptionsPlugin.

Bugs/Feature Requests

Existing bugs and feature requests for ArbitraryProjectPropertiesPatch are here.

If you have any issues, create a new ticket.


1 / 1


0 / 1


Download the zipped source from here.


You can check out ArbitraryProjectPropertiesPatch from here using Subversion, or browse the source with Trac.


General instructions on installing Trac plugins can be found on the TracPlugins page.

Recent Changes

7496 by david on 2010-02-03 19:19:36
initial commit
7495 by david on 2010-02-03 19:16:22
New hack ArbitraryProjectPropertiesPatch, created by david


Author: david
Maintainer: David

Last modified 7 years ago Last modified on Dec 1, 2016, 8:41:50 AM