Trip the Space Parasite wrote: > Noah Kantrowitz wrote: > > Sorry, I forgot Alec changed how that work in Tags. Append "? > > hdfdump=1" to any URL in a Trac site and you will see a printout of > > the HDF. The first chunk should be the hdf.loadpaths variable. It is > > an array (well index => value mapping) of folders. When looking for a > > template CS will scan them in order, so just make sure your folder is > > in front of the Trac ones. > > Thanks, hdfdump=1 looks pretty handy! > > However, if I'm interpreting the code right, the main Trac code just > says to each plugin in turn, > "Gimme your directory list". I could of course modify that code, but > otherwise I don't see a way for a plugin to demand that its > contribution be put at the beginning of the list instead of the end.
See this code for a reference of how to give your plugin-templates preference over the default trac ones: http://dev.lazaridis.com/base/browser/infra/TracX/tracx/menus.py?rev=85#L57 http://dev.lazaridis.com/base/browser/infra/TracX/tracx/patch.py?rev=85 . --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Development" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-dev?hl=en -~----------~----~----~----~------~----~------~--~---
