#4668 closed defect (fixed)
admin panel for setting conditional fields
Reported by: | Shane Caraveo | Owned by: | Ryan J Ollos |
---|---|---|---|
Priority: | normal | Component: | CondFieldsPlugin |
Severity: | normal | Keywords: | |
Cc: | Ryan J Ollos | Trac Release: | 0.11 |
Description
taking the general idea from the TicketExtPlugin, I've added an admin panel for configuring the plugin. I've also fixed a couple small items, and added a new configuration variable: show_default (default: false). The old default is to hide all fields and only show those configured. The new default is to show all fields and hide those configured. The new config variable allows you to switch back to the old behavior.
full zip of plugin to follow.
Attachments (6)
Change History (19)
Changed 16 years ago by
Attachment: | condfieldsplugin.zip added |
---|
comment:1 Changed 16 years ago by
Changed 16 years ago by
Attachment: | condfieldsplugin.2.zip added |
---|
updated version that works correctly
Changed 16 years ago by
Attachment: | condfieldsplugin.3.zip added |
---|
additional fix so it works with the autocomplete plugin
Changed 16 years ago by
Attachment: | condfieldsplugin.4.zip added |
---|
another fix for dealing with the table in view mode
Changed 15 years ago by
Attachment: | condfields-patched.tgz added |
---|
Patch for textareas custom fields bug
comment:3 Changed 15 years ago by
I've uploaded a small patch (condfields-patched.tgz) that fixes a problem with textarea fields: displays textareas in a single column per row, not in two.
coderanger: can you upload all these changes to svn (admin panel, ie explorer fixes, etc.).?
comment:4 Changed 15 years ago by
Cc: | Ryan J Ollos added; anonymous removed |
---|
comment:5 Changed 15 years ago by
the patch doesnt work for me... i copied the template into my global template folder, clicked some ticketfields to hide in different tickettypes but there are still all fields shown on any type...
using trac 0.11.4
comment:6 follow-ups: 8 10 Changed 15 years ago by
I'm trying to install this plugin, but I can't get it to show up in my admin panel under "plugins".
All I did was grab the source and install it globally, but Trac doesn't pick it up for some reason. I also tried making an egg and sticking it into the local plugin directory of the trac environment, but it still didn't show up in the plugin listing.
comment:7 Changed 15 years ago by
Is this supposed to be standalone, or installed on top of the original 0.11 CondFields Plugin?
comment:8 Changed 15 years ago by
Replying to anonymous:
I'm trying to install this plugin, but I can't get it to show up in my admin panel under "plugins".
All I did was grab the source and install it globally, but Trac doesn't pick it up for some reason. I also tried making an egg and sticking it into the local plugin directory of the trac environment, but it still didn't show up in the plugin listing.
The original Condfields plugin does show up.
comment:9 Changed 15 years ago by
Somehow, it ended up working after cleanly reinstalling trac.
One bug-> the admin panel does not correctly display the current configuration for types that have spaces in their names, e.g. selecting type "Number of Lines" will not load the current configuration. However, submitting changes works fine.
comment:10 Changed 12 years ago by
Owner: | changed from Noah Kantrowitz to Ryan J Ollos |
---|---|
Status: | new → assigned |
Replying to anonymous:
I'm trying to install this plugin, but I can't get it to show up in my admin panel under "plugins".
If you are still having trouble, please reply here and I will try to help you sort it out.
comment:11 Changed 12 years ago by
(In [12825]) Refs #4668: Added admin panel for configuration.
Initial patch by mixedpuppy, with iterations by 5past10 and szaffarano.
Note: this has been lightly tested by the committer. Please open new ticket to report any problems you find.
comment:12 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
mixedpuppy: if you'd like me to add your name/email address to the copyright in the file header, please send along the info or a patch. Thanks.
btw, this is based on the 0.11 branch.