Changes between Initial Version and Version 1 of Documentation/Plugins/FormOperations

05/24/05 22:00:37 (15 years ago)



  • Documentation/Plugins/FormOperations

    v1 v1  
     1= Form Operations = 
     3The Form Operations plugin provides a set of buttons in the toolbar and an as-required panel-based dialog for editing forms and form fields.  Form Operations was written by James Sleeman. 
     5== Usage: == 
     7  1. Follow the standard procedure for loading a plugin. 
     8  2. You optionally may configure the plugin by setting the following configuration variables, or leave them as the defaults. 
     10      xinha_config.FormOperations.multiple_field_format 
     11        = 'php' 
     12              this will cause checkbox and "multiple" select fields to have [] 
     13              appended to thier field names silently 
     14        = 'unmodified' 
     15              field names will not be silently modified 
     17      xinha_config.FormOperations.allow_edit_form 
     18        = true 
     19              the user will be able to edit the action, and method of forms 
     20        = false 
     21              neither action, nor method is editable 
     23      xinha_config.FormOperations.default_form_action 
     24        = 'whatever you want' 
     25              the default form action to set when inserting a form.  The standard one is a php file in the Form Operations directory which will email the form post to enquiries@<server hostname here> 
     27      xinha_config.FormOperations.default_form_html 
     28        = '<form>whatever you want here</form>' 
     29              the default html to insert when inserting a form.  The standard one is a basic contact form.  If you would like to specify an external file which contains the HTML for the form, you may do so via 
     30              = HTMLArea._geturlcontent('http://absolute/url/to/file.html') 
     31              see default_form.html for a suitable example, pay attention to the form tag. 
     34= Known Issues = 
     36Mozilla is rather problematic when it comes to selecting form elements so you may edit them, especially buttons, which are nigh impossible (tip, try clicking a few pixels off the right hand side of a button).  This is a bug which has been reported to bugzilla please show your support by voting for that bug! 
     38= To Do = 
     40* Multiple pre-defined form templates which may be selected from when inserting a new form. 
     41* Allowing selection of a set of pre-defined (developer configured) form actions as aliased names (eg Action: "Send mail to Bob"). 
     42* Improve the asthetics of the panel dialogs.  Help would be appreciated on that one :)