Forums

use a Richt text box in form

Nicky 18 Jun, 2008
Does any1 know how i can integrate the Joomla textbox in a form?

prolly use the JEditor class but i'm not sure how to implement this into the form...

I've tried adding:
<?php
JImport( 'joomla.html.editor' );
JEditor::display ("textArea", "<p></p>", "300px", "150px", 60, 20);
?>

but i get the error:
PHP Fatal error: Call to a member function on a non-object in /home/httpd/vhosts/ecx.be/subdomains/www2/httpdocs/libraries/joomla/html/editor.php on line 123

any ideas?
GreyHead 20 Jun, 2008
Hi Nicky,

I've never tired to do this so can't help much. Line 123 appears to be
$this->_loadEditor($params);
so my quess is that the library object isn't loading.

Bob
This topic is locked and no more replies can be posted.