Changes between Version 7 and Version 8 of ListTracProjectsMacro


Ignore:
Timestamp:
Sep 21, 2016, 8:36:44 PM (8 years ago)
Author:
figaro
Comment:

Moved example to functional description

Legend:

Unmodified
Added
Removed
Modified
  • ListTracProjectsMacro

    v7 v8  
    55== Description
    66
    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.
     7This 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
     9A sample call to the macro:
     10{{{
     11[[ListTracProjects()]]
     12}}}
     13
     14You 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
     16The 0.11 version, which is quite simple for now, seems to work with 0.12 too.
     17
     18This macro was created to address the problem of trying to host multiple Trac instances within a single site.
    819
    920== Bugs/Feature Requests
     
    3041Restart Apache if applicable.
    3142
    32 == Example
    33 
    34 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, eg {{{/usr/local/www/trac/}}}.
    35 The 0.11 version, which is quite simple for now, seems to work with 0.12 too.
    36 
    37 A sample call to the macro:
    38 {{{
    39 [[ListTracProjects()]]
    40 }}}
    41 
    4243== Recent Changes
    4344