[Pmwiki-users] ANN: FTS-1.0.5a is now available in the Cookbook

John Feezell johnfeezell
Fri Jan 9 23:19:36 CST 2004


A new version of the Form Template System (FTS) has been placed
in the Cookbook.  There are substantial code changes from prior versions,
however, most old templates should continue to work but may require some
modifications.

This new code should be stable except for a few minor plan changes.

To read about the system and to download the code see:
http://www.pmichaud.com/wiki/Cookbook/FormTemplateSystem

You can try out and test the new code in action at:
http://po.3wplace.com/wiki/DLab/FTS-SampleTemplate

Please note that there is a problem with the ?action=export operation.
Some of the exported field values are incomplete.  This will be addressed
in the next release.

 FTS-0.1.5.php Release Notes -- January 9, 2004
 *  Added $HTMLDoctypeFMT and set it to XHTML 1.0 Transitional by default
     To disable: place $EnableXHTMLinFTS=0; in local.php file.
     *  Added logic for new field types text[], textarea[], and 
[=textarea=].
     Text[] and textarea[] are self-replicating fields that add another
     input field to the form for 'new' user input with each edit.
     [=textarea=] is a field type that accepts PmWiki markup and DOES NOT
     apply in the rendered web page.
     *  Added logic to allow wikinote, text, and textarea field types to 
reference another field.  Usage: set the 'field array' key 'value'
     to point to the related field, i.e., 'value'=>'[target]' where target
     is any valid field name within any included template file.
 *  Simplified diff to reflect only modification to the form content made
     by the user.  Set a default of 7 days for retaining diff records.
     To change: place \$DiffKeepDays = ?; in local.php file where ? is
     the number of desired days to keep the diff records.
     *  Modified the 'field array' key 'inwiki' to accept array input.
 *  Modified ?action=export to include required &select= with these values:
     &select=page yields values for all page fields
     &select=values yields values for all form fields
     &select=keys yields keynames for all fields in page
 *  Various modifications to improve readability of php code and 
performance.

-- 
 



More information about the pmwiki-users mailing list