Changes between Version 1 and Version 2 of TracTicketsCustomFields
- Timestamp:
- 09/16/05 00:03:51 (20 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracTicketsCustomFields
v1 v2 1 1 = 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.2 Trac supports adding custom, user-defined fields to the ticket module. Using custom fields, you can add typed, site-specific properties to tickets. 3 3 4 4 '''Note: In Trac 0.8, this feature is still experimental.''' 5 5 6 == Configur iation ==6 == Configuration == 7 7 Configuring custom ticket fields is done in the TracIni config file. 8 8 9 All field definitions should be under a section named [ticket-custom]in the ini-file.9 All field definitions should be under a section named '''{{{[ticket-custom]}}}''' in the ini-file. 10 10 11 11 The syntax of each field definition is: … … 15 15 ... 16 16 }}} 17 Looking at the example below should helpexplain the syntax.17 The example below should help to explain the syntax. 18 18 19 19 === Available Field Types and Options === … … 38 38 * label: Descriptive label. 39 39 * value: Default text. 40 * width: Width in columns.41 * height: Height in lines.40 * cols: Width in columns. 41 * rows: Height in lines. 42 42 * order: Sort order placement. 43 43 … … 45 45 {{{ 46 46 [ticket-custom] 47 47 48 test_one = text 48 49 test_one.label = Just a text box … … 69 70 test_six.label = This is a large textarea 70 71 test_six.value = Default text 71 test_six. width= 6072 test_six. height= 3072 test_six.cols = 60 73 test_six.rows = 30 73 74 }}} 74 75 76 === Notes === 77 Do 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 75 81 ---- 76 See also: TracTickets, TracIni 82 See also: TracTickets, TracIni, TracIniReportCustomFieldSample
