Re: QuickForm: Need some help to integrate FCKeditor with QF

From: Date: Tue, 04 Jan 2005 17:50:57 +0000
Subject: Re: QuickForm: Need some help to integrate FCKeditor with QF
References: 1 2 3  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-16592@lists.php.net to get a copy of this message
On Tue, 4 Jan 2005 14:50:12 -0000, pt2002 <pt2002@mail.pt> wrote: > Hi > > I added the "print_r()" function of the form array to see how it was created > and I noticed an "element_1" with the html of fckediotr creation. > Why does it get that name instead of notes and it's valued is not displayed > after form submission? Did you set up a constructor for your element? > > Thanks in advance. > > Greetings > > "Justin Patrin" <papercrane@gmail.com> escreveu na mensagem > news:432beae041231132660fa112c@mail.gmail.com... > > 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 > -- Justin Patrin

« previous php.pear.general (#16592) next »