|Version 2 (modified by k0s, 4 years ago) (diff)|
Creating Views in Trac is now even easier!
TracViewScript, which is a pastescript template, to enable the creation of a skeleton view of a view in Trac. This view
- provides mainnav navigation (INavigationContributor)
- handles requests (IRequestHandler)
- provides templates (ITemplateProvider)
For more general purpose Trac plugin creation, see http://trac-hacks.org/wiki/CreatePluginScript
Once you have installed the software, tracview should be listed by paster:
paster create --list-templates
To invoke the template, run
paster create -t tracview FooBar
where FooBar is the name of the view you want to create.
Download the zipped source from here.
If you have any issues, create a new ticket.