Changes between Version 18 and Version 19 of TracTicketChainedFieldsPlugin


Ignore:
Timestamp:
Mar 15, 2014, 9:19:07 PM (10 years ago)
Author:
Ryan J Ollos
Comment:

Improved documentation regarding simplejson.

Legend:

Unmodified
Added
Removed
Modified
  • TracTicketChainedFieldsPlugin

    v18 v19  
    2424== Install ==
    2525
    26  You can install this software as normal Trac plugin.
     26You can install this software as you would for any [TracPlugins TracPlugin].
     27
     28[http://pypi.python.org/pypi/simplejson simplejson] is a requirement for Python < 2.6, and it should be installed automatically if required when running `easy_install`.
    2729
    2830 1. Uninstall TracTicketTemplate if you have installed before.
     
    4143
    4244 5. Config trac.ini:
    43   {{{#!ini
     45 {{{#!ini
    4446[components]
    4547tcf.* = enabled
     
    4850hide_empty_fields = false
    4951chained_fields = tcf_brand, tcf_phone, tcf_os
     52}}}
     53 or
     54 {{{#!ini
     55chained_fields = component, tcf_brand, tcf_phone, tcf_os
     56}}}
     57 for non-tcf_ starting fields.
    5058
    51 or
    52 chained_fields = component, tcf_brand, tcf_phone, tcf_os
    53 for none tcf_ starting fields.
    54 }}}
     59`hide_empty_fields` is the option which enable "hide fields when there are no supplied options", default is false. See #5638 for more details.
    5560
    56 "hide_empty_fields" is the option which enable "hide fields when there are no supplied options", default is false. See #5638 for more details.
    57 
    58 = Prerequisite =
    59  * [http://pypi.python.org/pypi/simplejson simplejson]
    60 
    61 == Example ==
     61== Example
    6262
    6363For example, there are 3 fields: brand, phone, OS. When brand changes, phone field will change it's options to show only phone belongs to that brand. When phone changes, OS field will change too.