Re: How to getId() of pt from a Script (Python)
Chris Withers <[email protected]> Tue, 04 Oct 2005 18:03:52 +0100
| Newsgroups | gmane.comp.web.zope.page-templates |
|---|---|
| Message-ID | <[email protected]> |
Chris Miles wrote:
> How do I get the Script (Python) to fetch the id of the Page Template it
> was called from?
_.getitem('template').getId() and make sure you've bound _ to the
namespace using the Bindings tab.
cheers,
Chris
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk