[[PageOutline(2-5,Contents,pullout)]] = Default and convert report dynamic variables to pulldowns = == Description == This plugin applies to all [http://trac.edgewall.org/wiki/TracReports#AdvancedReports:DynamicVariables 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 !JavaScript is required for the second feature above. == Configuration == 1. 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 [http://trac.edgewall.org/wiki/TracPlugins TracPlugins] for more installation details and options. You'll likely need to restart Trac's web server after installation. 2. Enable the plugin: {{{ [components] dynvars.* = enabled }}} You can alternatively use the Trac Web Admin GUI to enable any or all rules. == Bugs/Feature Requests == Existing bugs and feature requests for DynamicVariablesPlugin are [report:9?COMPONENT=DynamicVariablesPlugin here]. If you have any issues, create a [http://trac-hacks.org/newticket?component=DynamicVariablesPlugin&owner=robguttman new ticket]. == Download == Download the zipped source from [download:dynamicvariablesplugin here]. == Source == You can check out DynamicVariablesPlugin from [http://trac-hacks.org/svn/dynamicvariablesplugin here] using Subversion, or [source:dynamicvariablesplugin browse the source] with Trac. == Example == There is (currently) no configuration options. Here's what the changes look like once enabled: === Before === [[Image(before.png)]] === After === [[Image(after.png)]] == Recent Changes == [[ChangeLog(dynamicvariablesplugin, 3)]] == Author/Contributors == '''Author:''' [wiki:robguttman] [[BR]] '''Maintainer:''' [wiki:robguttman] [[BR]] '''Contributors:'''