Changes between Version 12 and Version 13 of FieldOfTablePlugin


Ignore:
Timestamp:
May 7, 2018, 10:42:03 PM (6 years ago)
Author:
Ryan J Ollos
Comment:

Inline comments cannot be used in INI files, so the example did not work.

Legend:

Unmodified
Added
Removed
Modified
  • FieldOfTablePlugin

    v12 v13  
    3737General instructions on installing Trac plugins can be found on the [TracPlugins#InstallingaTracplugin TracPlugins] page.
    3838
    39 In your `trac.ini` file create a custom field like:
     39Enable the plugin:
    4040{{{#!ini
    4141[components]
    4242fieldoftable.* = enabled
     43}}}
    4344
     45Create a custom field like:
     46{{{#!ini
    4447[ticket-custom]
    45 table_field = textarea                           # This line matters!
     48table_field = textarea
     49table_field.format = wiki
     50table_field.table = true
     51table_field.value = ||=col1=||=col2||=col3=||
    4652table_field.cols = 68
    47 table_field.format = wiki                        # This line matters!
    4853table_field.label = Test field
    4954table_field.rows = 10
    50 table_field.table = true                         # This line matters!
    51 table_field.value = ||=col1=||=col2||=col3=||    # This is the table header and is NOT OPTIONAL!
    5255}}}
     56
     57The first 4 lines, including the `format`, `table` and `value` attributes, are required.
    5358
    5459== Recent Changes