[pmwiki-users] zap: create / template

noskule noskule at gmx.net
Tue Jun 19 09:13:12 CDT 2007


The Editor schrieb:
> 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":)

works gread, thanks
nos

> 
> The same with email (emailtemplate) and so on...
> 
> Cheers,
> Dan
> 




More information about the pmwiki-users mailing list