wiki:CustomSelectAdminPlugin

Version 4 (modified by anonymous, 5 years ago) (diff)

--

Admin Panels for Custom Fields

Description

The CustomSelectAdmin plugin generates custom admin panels for each custom ticket field that is of type 'select.' These custom panels look and behave very similar to the 'Components', 'Milestones', etc. panels.

Install CustomSelectAdmin

  • By hand:
    • Drop the compiled egg into the plugins directory of your Trac instance
      $ svn export http://trac-hacks.org/svn/customselectadminplugin/0.11
      $ cd 0.11
      $ python setup.py bdist_egg
      $ cp dist/CustomSelectAdmin<ADDITIONAL-INFO>.egg <PATH-TO-TRAC-INTANCE>/plugins
      
  • Globally:
    • easy_install the egg so it will apply to all Trac instances
      $ easy_install http://trac-hacks.org/svn/customselectadminplugin/0.11
      

Add the following lines to trac.ini (create [components] if it does not exist)

[components]
customselectadmin.* = enabled

Bugs/Feature Requests

Existing bugs and feature requests for CustomSelectAdminPlugin are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from here.

Source

You can check out CustomSelectAdminPlugin from here using Subversion, or browse the source with Trac.

Example

Within the [ticket-custom] section you can add an additional field, (FIELDNAME).panel = (PANELTITLE) to specify what string will display on the left-hand panel selection area inside the Trac 'Admin' section

For Instance:

[ticket-custom]
workcode = select
workcode.label = Work Code
workcode.options = W001 | W002
workcode.value = Plugin
workcode.panel = Work Codes

Recent Changes

[6321] by jetheis on 2009-08-05 02:50:32
Permanently moving project to PyPI. See information for download link.
[6237] by jetheis on 2009-07-20 05:41:04
Removed hyperlinks from template (forgot to do it earlier)
[6236] by jetheis on 2009-07-20 05:37:45
Added README file

Author/Contributors

Author: jetheis
Contributors: