[pmwiki-users] Fox Update

Hans design5 at softflow.co.uk
Mon Mar 26 08:14:57 CDT 2007


The Fox recipe has been updated in a major way.
See http://www.pmwiki.org/wiki/Cookbook/Fox

Main changes:
* Added $FoxFilterFunctions array to support external filter scripts,
which Fox can use to preprocess(filter) field values posted.
One or more filter functions can be specified in a Fox form,
which will be used in sequence, and different forms can call different
filters.

* Field {name} substitutions are added, allowing values from one or
more fields to be combined in a third field, for instance to construct
a target pagename from various input controls.

* Other {var} than field {name} placeholders will not be changed. This
allows for instance smilie markup like {happy} to work.

* Changed the 'newedit' parameter to insert the processed template page
content into the edit window of the target page. Before it could only
load the template page, without the posted field values. Now Fox goes
through the normal post processing and then inserts the new page
content into the edit window.

* Code restructuring by using more and smaller functions.

Comments and feedback most welcome!

-- 
Best,
 Hans




More information about the pmwiki-users mailing list