Changes between Version 7 and Version 8 of ArbitraryOptionsPlugin
- Timestamp:
- Nov 24, 2015, 3:25:50 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ArbitraryOptionsPlugin
v7 v8 1 1 [[PageOutline(2-5,Contents,pullout)]] 2 2 3 = Arbitrary Options Plugin3 = Pass configuration options to Trac templates 4 4 5 5 == Description … … 13 13 You can do this for your project listing page too, using the ArbitraryProjectPropertiesPatch. 14 14 15 Note that this is only implemented for Genshi right now, but you could add a line or two for !ClearSilver, although this is untested.15 Note that this is only implemented for Genshi at present, but you could add a line or two for !ClearSilver, although this is untested. 16 16 17 17 == Bugs/Feature Requests … … 27 27 == Download 28 28 29 Download the zipped source from [download:arbitraryoptionsplugin here]. 30 31 You can also just run: 32 {{{ 33 easy_install TracArbitraryOptionsPlugin 34 }}} 29 Download the zipped source from [export:arbitraryoptionsplugin here]. 35 30 36 31 == Source 37 32 38 You can check out ArbitraryOptionsPlugin from [ http://trac-hacks.org/svn/arbitraryoptionsplugin here] using Subversion, or [source:arbitraryoptionsplugin browse the source] with Trac.33 You can check out ArbitraryOptionsPlugin from [/svn/arbitraryoptionsplugin here] using Subversion, or [source:arbitraryoptionsplugin browse the source] with Trac. 39 34 40 35 == Installation 41 36 42 37 General instructions on installing Trac plugins can be found on the [TracPlugins#InstallingaTracplugin TracPlugins] page. 38 39 You can also just run: 40 {{{#!sh 41 $ easy_install TracArbitraryOptionsPlugin 42 }}} 43 43 44 44 == Example … … 61 61 You could iterate over your whole projects list like this: 62 62 {{{ 63 <li py:for='proj in projects' py:if='proj.name != project.name and proj.info.get("status") == "primary"'> 64 <a href='/${proj.href}'>${proj.name}</a>63 <li py:for='proj in projects' py:if='proj.name != project.name and proj.info.get("status") == "primary"> 64 <a href='/${proj.href}'>${proj.name}</a>; 65 65 </li> 66 66 }}} 67 67 68 See also http://www.siafoo.net/snippet/276 for information.68 See also http://www.siafoo.net/snippet/276 for more information. 69 69 70 70 See http://projects.icapsid.net/adjector for a usage example.