Changes between Version 12 and Version 13 of FieldOfTablePlugin
- Timestamp:
- May 7, 2018, 10:42:03 PM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FieldOfTablePlugin
v12 v13 37 37 General instructions on installing Trac plugins can be found on the [TracPlugins#InstallingaTracplugin TracPlugins] page. 38 38 39 In your `trac.ini` file create a custom field like:39 Enable the plugin: 40 40 {{{#!ini 41 41 [components] 42 42 fieldoftable.* = enabled 43 }}} 43 44 45 Create a custom field like: 46 {{{#!ini 44 47 [ticket-custom] 45 table_field = textarea # This line matters! 48 table_field = textarea 49 table_field.format = wiki 50 table_field.table = true 51 table_field.value = ||=col1=||=col2||=col3=|| 46 52 table_field.cols = 68 47 table_field.format = wiki # This line matters!48 53 table_field.label = Test field 49 54 table_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!52 55 }}} 56 57 The first 4 lines, including the `format`, `table` and `value` attributes, are required. 53 58 54 59 == Recent Changes