Changes between Initial Version and Version 1 of CategorizedFieldsPlugin


Ignore:
Timestamp:
Mar 13, 2014, 2:09:18 AM (10 years ago)
Author:
Cauly
Comment:

New hack CatagorizedFieldsPlugin, created by cauly

Legend:

Unmodified
Added
Removed
Modified
  • CategorizedFieldsPlugin

    v1 v1  
     1[[PageOutline(2-5,Contents,pullout)]]
     2
     3= Catagorized fields for Trac
     4
     5== Description
     6
     7This plugin purpose on catagorizing ticket fields.
     8
     9This plugin is designed for follow situation:
     10* Your ticket has lot of fields.
     11* The fields of ticket is varying in different condition.
     12* Some fields of ticket should only be visible to authorized user (not implemented)
     13
     14== !Bugs/Feature Requests
     15
     16Existing bugs and feature requests for CatagorizedFieldsPlugin are
     17[report:9?COMPONENT=CatagorizedFieldsPlugin here].
     18
     19If you have any issues, create a
     20[http://trac-hacks.org/newticket?component=CatagorizedFieldsPlugin&owner=cauly new ticket].
     21
     22== Download
     23
     24Download the zipped source from [export:catagorizedfieldsplugin here].
     25
     26== Source
     27
     28You can check out CatagorizedFieldsPlugin from [http://trac-hacks.org/svn/catagorizedfieldsplugin here] using Subversion, or [source:catagorizedfieldsplugin browse the source] with Trac.
     29
     30== Installation
     31
     321. Install the plugin just like any other
     332. Set up the trac.ini
     34 1. In [components] section, add:{{{catagorizedfields.catagorizedfields = enabled}}}
     35 2. Create a {{{[catagorized-fields]}}} section, and adds the catagories. e.g.:
     36{{{
     37[catagorized-fields]
     38# declare a catagory in syntax "(catagory_id) = (catagory_display_name)"
     39cat1 = catagory_one
     40
     41# specify the hide condition in syntax "(catagory_id).hide_when_(condition-field) = (field-value1)[, (field-value2), ..]"
     42cat1.hide_when_status = new, closed
     43}}}
     44 3. In {{{[ticket-custom]}}} section, specify your fields with catagory property:
     45{{{
     46[ticket-custom]
     47custom_field1 = text
     48
     49# declare one field with catagory in syntax "(field_id).catagory = (catagory_id)"
     50custom_field1.catagory = cat1
     51}}}
     523. That's all.
     53
     54
     55
     56== Recent Changes
     57
     58[[ChangeLog(catagorizedfieldsplugin, 3)]]
     59
     60== !Author/Contributors
     61
     62'''Author:''' [wiki:cauly] [[BR]]
     63'''Maintainer:''' [[Maintainer]] [[BR]]
     64'''Contributors:'''