[pmwiki-devel] set up PagetextVariables from recipe ?

Christophe David pmwiki at christophedavid.org
Mon Jan 8 04:44:44 CST 2007


Is there a ready made solution to change a PageTextVariable from a recipe ?

Example:

In a page MyGroup.MyPreferences, I have a PagetextVariable defined with
(:PreferredLanguage:En:).

I would like to be able

1) to change its value from a recipe (to import data from an external source
for example)
2) to change it from a simple link (not a form button) in any other page: An
hyperlink "French" would set the PagetextVariable in
MyGroup.MyPreferencesto "Fr"

It can of course be done by loading the page in a recipe, replacing whatever
is needeed and saving it back, but it might be re-inventing the wheel.

Any clue would be welcome.

Christophe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/pmwiki-devel/attachments/20070108/2a1c12d0/attachment.html 


More information about the pmwiki-devel mailing list