I've used the Powertools recipe to create a form through which a user can create a new page, but I apparently don't know how to replace the $ $variables in the page's template.

My form looks something like this:

(:fox nlform template=Form.MyTemplate:)
NewPageName: {$$(serialname MyGroup MyPageBaseName- )}
(:input hidden target '{Form.MyForm$:NewPageName}':)
(:input hidden pagename 'NewPageName':)
(:input text pagetitle size=40:)
(:input submit post "Submit":)
(:input end:)
(:foxend nlform:)

The MyTemplate page contains:

(:title $$pagetitle:)
PageName: $$pagename

Does the Powertools recipe not handle $$variable substitution, or am I doing something wrong?

Randy
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to