iain duncan wrote:
> 
>> 2) To display the flash, tg.get_flash() should be called in master.html.
>> The tg namespace should be imported so this is available. A patch won't
>> hurt :)
> 
> This seems to be working. =)

Great! :)
> 
> Here is the change I made to master.html, dunno if this is how it should
> be done. I figured we want to keep the template api the same right?

(...)

Yeah, that was it. It was rather a way to make sure it worked and keep
you going... a longer term solution would be to re-implement (if it
isn't already... is it?) some sort of variable_providers like TG1's
which made it available along with the other tg thingies with no need
for imports.

Alberto


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears Trunk" 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/turbogears-trunk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to