Would this be the correct syntax? or is there a better way to do this? #set base = Template.compile(file='chTemplates/base.tmpl')) #import Cheetah #set $Cheetah.mybase = $base #from Cheetah import mybase #extends mybase
jose Jose Galvez wrote: > cheetah 2 what is the syntax? > Jose > > On 6/13/06, *Ian Bicking* <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > > Jose Galvez wrote: > > Thanks Thomas for the confirmation. That's pretty much the > conclusion I > > had come to, but was hopping that I was missing some magic > declarative > > that would do the trick for me, I had written a extension for > webware > > that compiled templates on the fly for me, but the code was > pretty messy > > and I'm not sure how/if it would work with turbocheetah. In > any event > > I'll most likely just compile the parents by hand since that > seems to > > work the best anyway > > Are you using Cheetah 1 or 2? I think 2 can automatically compile > parent templates. > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" 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/pylons-discuss -~----------~----~----~----~------~----~------~--~---
