Recommend this page to a friend! |
Download .zip |
Info | Screenshots | View files (4) | Download .zip | Reputation | Support forum | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2006-05-02 (10 years ago) | 65% | Total: 1,391 | All time: 2,709 This week: 880 |
Version | License | Categories | ||||
xinha_plug_in 1.0 | Freely Distributable | HTML |
Description | Author | |||||||||||||
This class is a plug-in for the Forms Generation and Validation class that turns a textarea input in a HTML editor. |
|
{\rtf1\mac\ansicpg10000\cocoartf102 {\fonttbl\f0\fswiss\fcharset77 Helvetica;} {\colortbl;\red255\green255\blue255;} \paperw11900\paperh16840\margl1440\margr1440\vieww15680\viewh12720\viewkind0 \pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\ql\qnatural \f0\fs24 \cf0 form xinha plugin README\ ======================\ \ This is a plugin form Manuel Lamos' Forms Generation and Validation Class\ \ It implements a textarea with a toolbar that allows the user to treat the field as a word processor (so styles, fonts, tables, spellcheck...)\ \ It is based on a javascript opensource proget called xinha.\ \ How to get it working:\ \ a) First you need the master forms.php class, grab it from phpclasses.org\ b) Second you need the xinha javascript code.\ \ Go to \ \ http://xinha.python-hosting.com/\ \ and download the latest code, unzip it and the place the whole folder at the root level of your site\ \ require_once("forms.php");\ require_once("form_xinha.php");\ \ \ $form->AddInput(array(\ "TYPE"=>"custom",\ "CustomClass"=>"form_xinha",\ "NAME"=>"myText",\ "ID"=>"myText",\ "LANG"=>"en", // valid are "en","it","de" default "it"\ "SPELLCHECK"=>true, // display SPELLCHECK default false\ "TABLES"=>true, // display Table Operations default false\ "PATH"=>"/path/to/the/editor", // default "xinha" that is the site relative path to the folder you created in step b)\ "ROWS"=>10,\ "COLS"=>50\ ));\ \ Any attribute that makes sense in a textarea should work. For the legal parameters in a textarea take a look at Manuel' Lamos' Forms Generation and Validation class documentation.\ \ I've only assembled the plugin. All the credits for the functionality goes to the guys at http://xinha.python-hosting.com/ that are working so hard on the project.\ \ If you fix it or implement it, I'd love to hear from you.\ \ Good luck\ \ Alessandro Bianchi\ \ 01-05-2006} |
Screenshots | ||
Files |
File | Role | Description |
---|---|---|
example.html.php | Example | Template for example |
example.php | Example | Example |
form_xinha.php | Class | Plugin class |
README.rtf | Doc. | README document in RTF format |
xinha_plug_in-2006-05-02.zip 12KB | |
xinha_plug_in-2006-05-02.tar.gz 11KB | |
Install with Composer |
Needed packages | ||
Class | Download | Why it is needed | Dependency |
---|---|---|---|
Forms generation and validation | .zip .tar.gz | This is the main forms generation and validation class that this plug-in extends | Required |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
0% |
|
|
User Ratings | ||||||||||||||||||||||||||||||
|