wiki:CustomSelectAdminPlugin

Version 1 (modified by jetheis, 7 years ago) (diff)

New hack CustomSelectAdminPlugin, created by jetheis

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
  • Globally:
    • easy_install the egg so it will apply to all Trac instances

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 [download:customselectadminplugin 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

14530 by rjollos on 2015-04-13 14:43:28
Reimporting plugin from PyPI. Refs #7004.
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)
(more)

Author/Contributors

Author: jetheis
Contributors: