Changes between Version 5 and Version 6 of FieldOfTablePlugin
- Timestamp:
- Jun 18, 2015, 12:56:49 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FieldOfTablePlugin
v5 v6 1 1 [[PageOutline(2-5,Contents,pullout)]] 2 2 3 = Field of Table Plugin for trac3 = Field of Table Plugin for Trac 4 4 5 5 == Description 6 6 7 A simple textarea type field with a table, but it forces user to edit it just like a table. 7 This plugin implements a textarea type field with a table, that enables the user to edit it just like a table: 8 9 '''Input fields:''' 8 10 9 11 [[Image(5.PNG)]] 12 13 '''Displayed output:''' 14 10 15 [[Image(6.PNG)]] 11 16 … … 16 21 17 22 If you have any issues, create a 18 [http://trac-hacks.org/newticket?component=FieldOfTablePlugin&owner=cauly new ticket]. 23 [/newticket?component=FieldOfTablePlugin new ticket]. 24 25 [[TicketQuery(component=FieldOfTablePlugin&group=type,format=progress)]] 19 26 20 27 == Download … … 28 35 == Installation 29 36 30 1. Install it like any other plugin s.31 2. in trac.ini,create a custom field like:32 {{{ 37 1. Install it like any other plugin. 38 2. In your `trac.ini` file create a custom field like: 39 {{{#!ini 33 40 [components] 34 41 fieldoftable.* = enabled 35 42 36 43 [ticket-custom] 37 table_field = textarea 44 table_field = textarea # This line matters! 38 45 table_field.cols = 68 39 table_field.format = wiki 46 table_field.format = wiki # This line matters! 40 47 table_field.label = Test field 41 48 table_field.rows = 10 42 table_field.table = true 43 table_field.value = ||=col1=||=col2||=col3=|| 49 table_field.table = true # This line matters! 50 table_field.value = ||=col1=||=col2||=col3=|| # This is the table header and is NOT OPTIONAL! 44 51 }}} 45 52