plugins/ddAccesibleFormPlugin (diff)

You must first sign up to be able to contribute.

Changes from Version 1 of plugins/ddAccesibleFormPlugin

davedash (IP:
01/22/08 07:29:34 (10 years ago)



  • plugins/ddAccesibleFormPlugin

    v0 v1  
     1== Introduction == 
     3This plugin allows you to make  
     4[ prettier accessible forms]. 
     6Very simply it provides a helper with a function, `accessible_form_tag()`  
     7which acts just like `form_tag()` but adds a stylesheet and some javascript.   
     8The result is nicely structured forms using semantic markup. 
     10== Installation == 
     12This plugin is only available via svn.  If you would like to make this a pear  
     13package please contact the maintainer (Dave Dash). 
     16cd plugins/ 
     17svn co ddAccessibleFormPlugin 
     20Then create the proper symlink: 
     23cd web/ 
     24ln -s ../plugins/ddAccessibleFormPlugin/web ddAccessibleFormPlugin 
     27== Javascript == 
     29The `cmxform.js` forces `label` tags to use the `inline-box` display style.   
     30It currently depends on the `jquery` javascript library.  A copy of  
     31`jquery.js` is bundled and will be used unless overridden by the  
     32`SF_JQUERY_WEB_DIR` setting. 
     34Alternately you may use the Yahoo User Interface library.  For this to work, 
     35set `SF_JS_LIB` to `yui` and set `SF_YUI_WEB_DIR` to the proper location. 
     36If you are using hosted YUI, you can have a setting like so in your  
     40    yui_web_dir:   
     43It's not recommended to mix multiple libraries.  If you use dojo, moo tools or  
     44prototype, it might be wise to create an alternate `cmxform.js` for your  
     45platform.  If you create such a package please let the maintainer (Dave Dash) 
     46know and he'll gladly include it in this plugin. 
     48== Maintenance/Authors == 
     50This plugin is currently maintained by Dave Dash @  
     51[].  If you'd like to contribute please contact 
     52him with patches. 
     54== Changelog == 
     562008-01-07  Updated README 
     572008-01-21  Added YUI support, cleaned up jQuery code. 
     59== Todo == 
     61* Impliment in moo tools 
     62* Impliment in Prototype 
     63* Create PEAR package 
     64* Impliment in dojo