wiki:TracViewScript

Version 2 (modified by Jeff Hammel, 14 years ago) (diff)

--

Creating Views in Trac is now even easier!

Notice: This plugin is unmaintained and available for adoption.

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)

You can download TracViewScript here: http://trac-hacks.org/wiki/TracViewScript

For more general purpose Trac plugin creation, see http://trac-hacks.org/wiki/CreatePluginScript

Usage

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

Download the zipped source from [download:tracviewscript here].

You can check out TracViewScript from here using Subversion, or browse the source with Trac.

Bugs/Feature Requests

Existing bugs and feature requests for TracViewScript are here.

If you have any issues, create a new ticket.

Recent Changes

6969 by k0s on 2009-10-30 21:32:25
  • import tag, forgot this
  • repr(project) is a command to pastescript so ${} it
6968 by k0s on 2009-10-30 21:29:10
forgot a )
6967 by k0s on 2009-10-30 21:26:32
forgot to close a }
(more)

Author/Contributors

Author: k0s
Contributors: