PHP Classes

Xinha plug-in: Forms plug-in to use Xinha HTML editor

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   Screenshots Screenshots   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2006-05-02 (9 years ago) RSS 2.0 feedStarStarStarStar 65%Total: 1,389 All time: 2,683 This week: 1,060Up
Version License Categories  
xinha_plug_in 1.0Freely DistributableHTML
Description Author  

This class is a plug-in for the Forms Generation and Validation class that turns a textarea input in a HTML editor.

Xinha is a fork of the HtmlArea JavaScript library. HtmlArea can generate HTML editors with support for many rich editing features like tables and spell-checking.

This plug-in makes the Xinha enhanced input be treated like a normal textarea input, so applications can retrieve and validate the input value like with any other input managed by the forms class.

Picture of Alessandro Bianchi
Name: Alessandro Bianchi <contact>
Classes: 2 packages by
Country: Italy Italy
Age: 50
All time rank: 136755 in Italy Italy
Week rank: 1590 Down70 in Italy Italy Down

{\fonttbl\f0\fswiss\fcharset77 Helvetica;}

\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\
b) Second you need the xinha javascript code.\
Go to \
and download the latest code, unzip it and the place the whole folder at the root level of your site\
		"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)\
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 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\
  • screenshot.jpg
  Files folder image Files  
File Role Description
Plain text file example.html.php Example Template for example
Plain text file example.php Example Example
Plain text file form_xinha.php Class Plugin class
Plain text file README.rtf Doc. README document in RTF format 12KB
Downloadxinha_plug_in-2006-05-02.tar.gz 11KB
Install with ComposerInstall with Composer
Needed packages  
Class DownloadWhy it is needed Dependency
Forms generation and validation Download .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%Total:1,389All time:2,683
 This week:0This week:1,060Up
 User Ratings  
 All time