[pmwiki-users] zap: create / template

The Editor editor at fast.st
Tue Jun 19 09:05:03 CDT 2007


On 6/19/07, noskule <noskule at gmx.net> wrote:
> hi list/dan
> I'm checking out the templateing engine of zap. So I try to create a
> page with a template. The following code works, execpt of the template,
> what I'm doing wrong?
>
> (:zapform:)
> '''New Page Name:'''\\
> (:input text NewPageName:)\\
> FormInputValue:\\
> (:input text FormInputValue:)\\
> (:zap testpage_template="Zap.TestTemplate":)
> (:zap create_testpage="{*$Group}.{*$Name}-{NewPageName}":)
> (:input submit:)
> (:zapend:)
>
>
> thanks for any hints
> nos


I think you should use this line instead to specify the template:

(:zap createtemplate="Zap.TestTemplate":)

The same with email (emailtemplate) and so on...

Cheers,
Dan



More information about the pmwiki-users mailing list