= Trac Ticket Template = [[TOC]] SEE:'''ZoomQuiet''' ~ Collection KSPEG Trac hacking == Description == TracTicketTemplate enable users to create ticket using templates which can be customized by Trac administrator. Trac administrator can specify a general template '''default''' for all uncustomized ticket types. == Bugs/Feature Requests == Existing bugs and feature requests for TracTicketTemplatePlugin are [report:9?COMPONENT=TracTicketTemplatePlugin here]. If you have any issues, create a [http://trac-hacks.org/newticket?component=TracTicketTemplatePlugin&owner=richard new ticket]. == Download == Download the zipped source from [download:tractickettemplateplugin here]. == Source == You can check out TracTicketTemplatePlugin from [http://trac-hacks.org/svn/tractickettemplateplugin here] using Subversion, or [source:tractickettemplateplugin browse the source] with Trac. == Install == You can install this software as normal Trac plugin. 1. Uninstall TracTicketTemplate if you have installed before. 2. Change to the directory containning setup.py. 3. If you want to install this plugin globally, that will install this plugin to the python path: * python setup.py install 4. If you want to install this plugin to trac instance only: * python setup.py bdist_egg * copy the generated egg file to the trac instance's plugin directory {{{ cp dist/*.egg /srv/trac/env/plugins }}} 5. Config trac.ini: {{{ [components] tickettemplate.* = enabled }}} == Example == * Trac administrator should define the template for all ticket types: * Login as administrator, open Admin -> Ticket System -> Ticket Template * '''load''' the template of each ticket type, modify them and '''apply changes''' * After defined ticket template, normal user can create ticket using predefined template by '''change ticket types''' dropdown list items. * Screenshot * [[Image(trac_ttt_demo.png)]] == Recent Changes == [[ChangeLog(tractickettemplateplugin, 3)]] == Author/Contributors == '''Author:''' [wiki:richard] [[BR]] '''Contributors:'''