Using the editor in a component
From Joomla! Documentation
The "J1.5" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
Introduction[edit]
To get some interaction with the visitors of your website your visitors need to be able to add some content.
This article will show you how visitors can add some data using a rich text editor.
Lets start with the component created in the article Developing a Model-View-Controller Component - Part 4 - Creating an Administrator Interface which lets the administrator add new entries to the database. The component can be downloaded at: com_hello4_01
Expand the data model[edit]
The model used in the tutorial can only hold a text of 25 characters. Lets add a new field which can be used to hold a lot more text, so we can save the editor contents.
Use your favorite tool to access the php database and open the jos_hello tabel in your joomla database. Add a new field to this table by running this SQL statement:
ALTER TABLE `jos_hello` ADD `content` TEXT NOT NULL ;