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
_______________________________________________
pmwiki-devel mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-devel

Reply via email to