[pmwiki-users] New Recipe: PTVReplace
Hans
design5 at softflow.co.uk
Mon Mar 12 11:21:22 CDT 2007
StringReplace is not quite good enough for replacing a number of Page
Text Variables in one action. Therefor I created PTVReplace, which is
dedicated to change values of PTVs only.
See http://www.pmwiki.org/wiki/Cookbook/PTVReplace
One can use either special link markup or input forms.
PTVReplace can act on the current page and on other pages.
Redirection to the target place can be made into a default, default is
"no redirection" (stay on the posting page).
As PTVReplace is dedicated to PTV replacement, the syntax is a lot
simpler, both for the links and for input forms.
At the moment the recipe works only on hidden PTVs of form
(:PTVName:Value:), not on PTVs of form
Name: Value or
:Name:Value
Comments, suggestions, feedback most welcome!
--
Best,
Hans
More information about the pmwiki-users
mailing list