Re: QuickForm: Need some help to integrate FCKeditor with QF
| From: | Justin Patrin | Date: | Fri, 31 Dec 2004 21:26:03 +0000 |
| Subject: | Re: QuickForm: Need some help to integrate FCKeditor with QF | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-16544@lists.php.net to get a copy of this message | ||
On Thu, 30 Dec 2004 12:56:19 -0000, pt2002 <pt2002@mail.pt> wrote:
> Hello
>
> I'm trying to add a new type of element 'fckeditor'. I look at a piece of
> code that do the same but for htmlarea.
> I'm getting an error:
> Fatal error: Call to undefined method FCKeditor::onQuickFormEvent() in
> /usr/local/lib/php/HTML/QuickForm.php on line 546
>
> I really need to get over this problem. The project I am re-designing
> doesn't use QF and Smarty.
> Now I have near 40 forms with QF & Smarty but some of them need to use
> FCKeditor because it's the current wysiwyg editor.
>
> Thanks in advance.
>
Your fckeditor element should extend HTML_QuickForm_element.
--
Justin Patrin