Am 23.10.2006 um 18:20 schrieb Andrew Backer:
> Thanks again Mr. Lenz!
You're welcome... I'm glad someone is playing with this stuff :-)
> I use a combination of css & an include file to keep a "tab bar" of
> various trac projects. Is there any where I can stash a 'shared' file
> that can be included normally? All it has to do is take a single
> parameter to indicate which tab is active.
You should be able to do something like this:
<xi:include href="/absolute/path/to/tabfile.html"
py:with="active = 'projectA' />
The included file needs to be well-formed XML, and if it's supposed
to be dynamic (as in this case), it'll need to be a valid Genshi
template.
Cheers,
Chris
--
Christopher Lenz
cmlenz at gmx.de
http://www.cmlenz.net/
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---