Changes between Version 1 and Version 2 of TracTicketsCustomFields


Ignore:
Timestamp:
Jul 25, 2015, 4:11:14 PM (9 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TracTicketsCustomFields

    v1 v2  
    1818   * value: Default value.
    1919   * order: Sort order placement. (Determines relative placement in forms with respect to other custom fields.)
     20   * format: One of:
     21     * `plain` for plain text
     22     * `wiki` to interpret the content as WikiFormatting (''since 0.11.3'')
     23     * `reference` to treat the content as a queryable value (''since 1.0'')
     24     * `list` to interpret the content as a list of queryable values, separated by whitespace (''since 1.0'')
    2025 * '''checkbox''': A boolean value check box.
    2126   * label: Descriptive label.
     
    3540   * label: Descriptive label.
    3641   * value: Default text.
    37    * cols: Width in columns.
     42   * cols: Width in columns
    3843   * rows: Height in lines.
    3944   * order: Sort order placement.
     45   * format: Either `plain` for plain text or `wiki` to interpret the content as WikiFormatting. (''since 0.11.3'')
     46
     47Macros will be expanded when rendering `textarea` fields with format `wiki`, but not when rendering `text` fields with format `wiki`.
    4048
    4149=== Sample Config ===
     
    4856test_two = text
    4957test_two.label = Another text-box
    50 test_two.value = Just a default value
     58test_two.value = Default [mailto:joe@nospam.com owner]
     59test_two.format = wiki
    5160
    5261test_three = checkbox
     
    107116Note in particular the `LEFT OUTER JOIN` statement here.
    108117
     118Note that if your config file uses an uppercase name, e.g.,
     119{{{
     120[ticket-custom]
     121
     122Progress_Type = text
     123}}}
     124you would use lowercase in the SQL:  `AND c.name = 'progress_type'`
     125
    109126=== Updating the database ===
    110127