[pmwiki-users] changing ptv's using an URL ?
Hans
design5 at softflow.co.uk
Fri Sep 19 12:16:45 CDT 2008
Friday, September 19, 2008, 5:33:48 PM, Knut Alboldt wrote:
> is there a way to change the value of one (ore more) ptv's just by
> calling a URL (e.g. some kind of action= with some
> ptv-name/-value-parameters) ?
none that i am aware of. Any method to change PTVs via url input
would need some security measures to prevent intentional and
accidental page content changes.
> if not, is there evt. a builtin pmwiki-funtktion to change a ptv of a
> page which could be used in an own action-recipe ?
form processing scripts like PmForm and Fox have their own function
to achieve this. There is no core Pmwiki function.
you could have a look at
http://www.pmwiki.org/wiki/Cookbook/SetPageTextVariable
This recipe script is basically one function, and you could perhaps
use it, or modify it for your recipe.
~Hans
More information about the pmwiki-users
mailing list