Hello,
Is there a way to pass variables to a page template without coding up a
plugin?
It appears that something similar is done when creating a NewHack on
trac-hacks.org [1], [2]. I haven't looked into that code yet, but it looks
like it would take a bit of coding to setup what I want. I wanted to first
see if there was an easy way to do this that I'm missing.
For example, I'd like to have a PageTemplate that contains a variable, such
as ${DATE}, and have the date set in the body of the wiki page when it is is
created.
[1] http://trac-hacks.org/wiki/NewHack
[2] http://trac-hacks.org/wiki/NewHackTemplate
--
View this message in context:
http://old.nabble.com/Pass-variables-to-a-PageTemplate--tp27507815p27507815.html
Sent from the Trac Users mailing list archive at Nabble.com.
--
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.