See also Fox-Talk

Summary: Form processor to add, replace, copy, delete content plus upload files and send email notifications using templates and Input markup
Version: 2017-06-21
Prerequisites: PmWiki 2.2.76, PHP 5.4 minimum
Status: stable
Maintainer: HansB
License: GPL2
Download: Fox Downloads (external link)
Users: +13 (View / Edit)
Discussion: Fox-Talk


Fox is a PmWiki form processing extension, to process the input from form controls such as text boxes, drop-down select boxes, radio buttons and check boxes etc and create output using templates and the submitted text and content, which will be saved to the current page or other target pages, even to multiple pages or email notifications.
Read more (external link)

Fox Downloads (external link)

Installation (external link)

Full Documentation (external link)

Latest Version History

  • 2017-12-04: small code improvements for template markup and for the way foxdelete links are constructed via templates.
  • 2017-06-21: simpler code for callbacks in var replacements, needs PHP 5.4 minimum. A more complicated version (fox-pre54.php) is available for older pre PHP 5.4 systems.
  • 2017-06-16: replaced Markup_e() calls with Markup() calls, and replaced RE() calls with preg_replace_callback() calls, both changes for PHP 7.2 compatibility.
  • 2017-05-20: Major code update: Fox will process all foxactions for one target page in one go, with page being opened and saved just once, for speedier processing. Bugfix for foxtemplate parameter, which will now work without problems in foxadd and foxreplace markup directives, even with multiple markups targeted to same page. Current page set as default for foxaction='display'. Some internal variables and functions are renamed while revising the code for creating a page target list and processing the targets. Fixed bugs in input and template handling.

Extension modules

  • Fox Delete - add delete links for deleting lines or sections with Fox
  • Fox Edit - add edit links for editing page sections and PTVs with Fox
  • Fox Notify - add email notifications and mailing capability to Fox forms

Example Applications (in the Cookbook)

Some example applications using Fox explained:


User notes +13: If you use, used or reviewed this recipe, you can add your name. These statistics appear in the Cookbook listings and will help newcomers browsing through the wiki.