5 Jan
2003
5 Jan
'03
11:06 a.m.
At 11:43 AM 1/5/2003 +0100, you wrote:
beno wrote:
Hi; I would like to do the equivalent of this: <dtml-call "manage_addProduct['OFSP'].manage_addFolder(id, title)"> in ZPT to create a page on-the-fly. Can it be done? TIA, beno
Hi,
this should do it for you:
manage_addProduct['PageTemplates'].manage_addPageTemplate(id, title=None, text=None, REQUEST=None)
So I try this in a ZPT page: <p tal:replace="structure python:path(manage_addProduct['PageTemplates'].manage_addPageTemplate(id, title='testing', text=None, REQUEST=None))" /> but the error says *manage_addProduct is not defined*. What am I missing? TIA, beno