Hi, I have 6 Trac environments, and I want to setup a common header for all 6 environments with the
[inherit] templates_dir = xxxx in trac.ini BUT I want this common header template to include an HTML or text file located in each environment templates dir, so that I can customize part of heach header with specific text depending on each project. ==> So, what VARIABLE can I use in the global template to specify the current environment dir name ? I tried the following on the global template : ----------------------- <html xmlns="http://www.w3.org/1999/xhtml" xmlns:py="http://genshi.edgewall.org/" xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:include href="XXX/templates/label.html" /> ----------------------- but I need a var in place of XXX in the code above to get the directory name of each environment. I tried ${href.chrome('site/label.html') putting label.html in htdocs/ but it doesn't work either. Thanks for your help. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Users" 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-users?hl=en -~----------~----~----~----~------~----~------~--~---
