|Version 2 (modified by robguttman, 6 years ago) (diff)|
Default and convert report dynamic variables to pulldowns
This plugin applies to all reports that use dynamic variables. The plugin does two things for dynamic variables whose (uppercase) name exactly matches a built-in or custom (lowercase) select field name:
- Dynamic variables are set to a default value if unset
- The text field for dynamic variables is converted to a pulldown menu
- Install the plugin (after downloading and unzipping):
cd dynamicvariablesplugin/0.11 sudo python setup.py bdist_egg sudo cp dist/TracDynamicVariables*.egg /your/trac/location/plugins/
See TracPlugins for more installation details and options. You'll likely need to restart Trac's web server after installation.
- Enable the plugin:
[components] dynvars.* = enabled
You can alternatively use the Trac Web Admin GUI to enable any or all rules.
If you have any issues, create a new ticket.
Download the zipped source from [download:dynamicvariablesplugin here].
There is (currently) no configuration options. Here's what the changes look like once enabled: