[pmwiki-users] horribly confused on ZAP create and pagetemplate
Jiri Hladůvka / OBUTEX
admin at obutex.com
Mon Dec 18 01:55:31 CST 2006
Helo Brian,
your command
(:input text create "<Stocks>"."<{symbol}>">:)
looks very strange. Try
(:input hidden create "Stocks.Symbol":)
to create Stocks.Symbol page
or
(:input text symbol:)
(:input hidden create "Stocks.{$symbol}":)
to create (in the group Stocks) a page with name you entered into the textbox
or
(:input text symbol:)
(:input hidden datapage "Stocks.{$symbol}":)
May there must be something like
(:input hidden savedata :)
Hope this helps,
Jiri
Brian napsal(a):
> Hello pmwiki-users,
>
> My goal is to create pages with ZAP using a form and template. I
> decided to start small by just learning to create simple pages using
> ZAP, but failed miserably. Here is my snippet:
>
> My site is related to the stock market, so I want the pages to be named as a stock
> symbol, in the group "Stocks".
>
>
> (:zapform `symbol` :)
> (:input text create "<Stocks>"."<{symbol}>">:)
> (:input submit value="create page":)
> (:zapend:)
>
>
>
--
OBUTEX s.r.o
Ing.Jiří Hladůvka
Zlatovská 22
911 01 Trenčín
tel.: +421 (0)32 6587000
mailto:admin at obutex.com
http://www.obutex.com
More information about the pmwiki-users
mailing list