Re: [fw-general] FCKEditor and Zend_Form integration

2008-11-24 Thread aSecondWill
Thanks for your help guys, i got it working just using the jquery (using the new 1.7 zendx jquery) to change all textarea's with class wysiwyg to fckeditor boxes, as sugested. Didn't use the plugin. easy peasy once pointed the right way. ta. -- View this message in context:

Re: [fw-general] FCKEditor and Zend_Form integration

2008-11-21 Thread Marko Korhonen
Hi, I use class attribute to bind FCKeditor to textarea fields. Example (I use ini files): ; content element form.elements.content.type = textarea form.elements.content.options.required = true form.elements.content.options.label = Content form.elements.content.options.attribs.class = editor

Re: [fw-general] FCKEditor and Zend_Form integration

2008-11-21 Thread till
On Fri, Nov 21, 2008 at 9:11 AM, Marko Korhonen [EMAIL PROTECTED] wrote: Hi, I use class attribute to bind FCKeditor to textarea fields. Example (I use ini files): ; content element form.elements.content.type = textarea form.elements.content.options.required = true

Re: [fw-general] FCKEditor and Zend_Form integration

2008-11-21 Thread drj201
To follow up my initial post I also resorted to a simple jQuery bind noted here: http://www.fyneworks.com/jquery/FCKEditor/ This allows use of FCKEditor and maintains Zend Form validation etc. David drj201 wrote: Hi all, I want to integrate FCKEditor (WYSIWYG) into a Zend_Form thus

RE: [fw-general] FCKEditor and Zend_Form integration

2008-11-20 Thread aSecondWill
These view helpers are great, thanks. Is it possible to apply them to form elements within your form classes , eg Forms_Cms extends Zend_Form so that zend_form populate and validate still works, but with the fckEditor functionality too? Will gammamatrix wrote: I created a view helper as

RE: [fw-general] FCKEditor and Zend_Form integration

2008-09-26 Thread Guillaume BABIK
Hi, In my projects using FCKEditor, I created a View's Helper that renders FCK Editor. I just applied or not this helper on a Zend_Form_Element_Textarea to use FKCeditor. My View's Helper is : /** * Constructor * * @access public *

RE: [fw-general] FCKEditor and Zend_Form integration

2008-09-26 Thread gammamatrix
I created a view helper as well with the option of including extra options: class Site_View_Helper_FckEditor { /** * Creates a form element with FCKEditor. * * @param string $name The form element name * @param