Noah Kantrowitz wrote: > On Sep 12, 2006, at 6:41 PM, Ilias Lazaridis wrote: > > Can I use the ITemplateProvider to override the original templates > > (e.g. wiki.cs)? > > > > Or is there any other mechanism available to do so from within a > > plugin? > > > > I guess I could use a simple copy instruction like this: > > > > #code > > global-trac-template-folder = <function to get > > global-trac-template-folder> > > copy /templates/wiki.cs to global-trac-template-folder > > alter permissions > > > > but I would like to avoid this. > > > > context: http://trac.edgewall.org/ticket/3704 > > Look at the TracTags plugin for how to override builtin templates.
http://muness.textdriven.com/svn/edu/tags-plugin/trunk/tractags/web_ui.py It provides an own template and an own implementation of the wiki-module. This depends additionally on changing the ini file: " Update your trac.ini with the following: [trac] default_handler = TagsWikiModule [components] trac.wiki.web_ui.wikimodule = disabled tractags.* = enabled " Any other simpler solution? (if possible reversible, e.g. if the plugin is deactivated, the original template should become active again)? . -- http://lazaridis.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users -~----------~----~----~----~------~----~------~--~---