See also http://trac-hacks.org/wiki/ThemeEnginePlugin
--Noah > -----Original Message----- > From: [email protected] [mailto:[email protected]] On > Behalf Of David Eads > Sent: Friday, August 21, 2009 10:09 AM > To: [email protected] > Subject: [Trac-dev] Overriding all Trac template files > > > Hi every, I had a possibly stupid question. I'm playing around with a > "total conversion" style theme for Trac (and I'm close to having a > patch to the notification system that I hope will be satisfactory, but > that's another issue). What I'd like to do is override *every* Trac > html template (partly for kicks, partly because I'd like that level of > control). The theme module is working nicely but I'm getting tripped > up a bit on the include statements in the template files themselves. > > When there's an <xi:include href="layout.html">, *my* layout.html > doesn't get used. I guess what I'd like to know is what best practice > in this regard is. It is trivial to rename the templates along the > lines of mytheme-layout.html and then simply change the include paths, > which is the solution I'm leaning towards. But is there a better way? > Is it crazy to want to this kind of control over the theming? > > I am working on consolidating my notes on Trac theming for a wiki > article about the topic. > > David Eads > http://invisibleinstitute.com > http://freegeekchicago.org > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
