Are you including the correct javascript file in your layout?

Here is my version that I use within 1.2.

http://bin.cakephp.org/view/2055097872

and in my form I have this:

(using a "Person" model)

...

echo $form->input('description',array('rows' => 6, 'cols' => 40));
echo $fck->load('PersonDescription', array('height' => 400, 'toolbar'
=> 'Basic'));
...

It's built to be extensible so you can add more keys to the $options
array as you see fit. The current keys I have defined are:

width, height, autoHide, toolbar

Hope that helps
Adam

On Feb 5, 3:12 am, Carl <[EMAIL PROTECTED]> wrote:
> ...and of course I tried all the versions listed in the comments, but
> all I get is the textarea, not the editor.
>
> On Feb 4, 8:33 am, Carl <[EMAIL PROTECTED]> wrote:
>
> > Thanks, I tried that, but I get this:
>
> > Warning (512): Method FormHelper::labelTag does not exist [CORE\cake
> > \libs\view\helper.php, line 148]
> > Notice (1024): Method textarea() is deprecated in HtmlHelper: see
> > FormHelper::input or FormHelper::textarea [CORE\cake\libs\view\helpers
> > \html.php, line 659]
> > Notice (8): Undefined variable: did [APP\views\helpers\fck.php, line
> > 6]
> > Notice (1024): Method tagErrorMsg() is deprecated in HtmlHelper: see
> > FormHelper::error [CORE\cake\libs\view\helpers\html.php, line 801]
>
> > which is why I asked about 1.2.
>
> > On Feb 4, 8:03 am, "[EMAIL PROTECTED]"
>
> > <[EMAIL PROTECTED]> wrote:
> > > Lots of people!
>
> > >http://bakery.cakephp.org/articles/view/using-fckeditor-with-cakephp
>
> > > works fine for me.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to