[ZPT] context not bound?

Richard Jones richard@bizarsoftware.com.au
Tue, 9 Oct 2001 08:52:49 +1000


On Tuesday 09 October 2001 06:05, alex@quad.com.ar wrote:
> let's say I have
> /templates/foo (a page template)
> /news/bar (a python script)
>
> in bar I have:
> return templates.foo()
>
> how can I get 'news' or 'bar' from foo ? If it were a python srcipt too I'd
> just call context, but that doesnt seems to be available on zpt, I dont
> want to explicitly pass news or bar to the template and reference it as
> options... so, is there any chance to still do that ?

Python Script "context" is equivalent to Page Template "here".


   Richard