Changes between Version 1 and Version 2 of TracTicketsCustomFields


Ignore:
Timestamp:
09/16/05 00:03:51 (20 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TracTicketsCustomFields

    v1 v2  
    11= Custom Ticket Fields =
    2 Trac support adding custom, user-defined, fields to the ticket module. Using custom fields, you can add typed, site-specific, properties to tickets.
     2Trac supports adding custom, user-defined fields to the ticket module. Using custom fields, you can add typed, site-specific properties to tickets.
    33
    44'''Note: In Trac 0.8, this feature is still experimental.'''
    55
    6 == Configuriation ==
     6== Configuration ==
    77Configuring custom ticket fields is done in the TracIni config file.
    88
    9 All field definitions should be under a section named [ticket-custom] in the ini-file.
     9All field definitions should be under a section named '''{{{[ticket-custom]}}}''' in the ini-file.
    1010
    1111The syntax of each field definition is:
     
    1515 ...
    1616}}}
    17 Looking at the example below should help explain the syntax.
     17The example below should help to explain the syntax.
    1818
    1919=== Available Field Types and Options ===
     
    3838   * label: Descriptive label.
    3939   * value: Default text.
    40    * width: Width in columns.
    41    * height: Height in lines.
     40   * cols: Width in columns.
     41   * rows: Height in lines.
    4242   * order: Sort order placement.
    4343
     
    4545{{{
    4646[ticket-custom]
     47
    4748test_one = text
    4849test_one.label = Just a text box
     
    6970test_six.label = This is a large textarea
    7071test_six.value = Default text
    71 test_six.width = 60
    72 test_six.height = 30
     72test_six.cols = 60
     73test_six.rows = 30
    7374}}}
    7475
     76=== Notes ===
     77Do not insert space characters between '{{{|}}}'-separated option values for ''radio'' and ''select'' fields.
     78 * ok: {{{FIELD_NAME.options = un|deux|trois}}}
     79 * invalid: {{{FIELD_NAME.options = un | deux | trois}}}
     80
    7581----
    76 See also: TracTickets, TracIni
     82See also: TracTickets, TracIni, TracIniReportCustomFieldSample