We were unable to load Disqus. If you are a moderator please see our troubleshooting guide.
For your info.
Now the FCKEditor is changed to CKEditor with the relase of CKEditor 3.0.
Integrating latest version of FCKEditor(CKEditor) with cake php is very easy. You
can see the simple steps here.
Integrating CKEditor with CakePHP
it's OK I got it; you need to add this in the view (not the layout!) before the renderElement is called:
echo $javascript->link('fckeditor/fckeditor',false);
which utilises the scripts for layout, and is placed into the head of the HTML this way. Thanks!
Hi
interesting, but I cannot get it to work with Cake beta from January: I am using the same download of FCKeditor you are using too (october 2007).
I get a couple of errors - FCKEditor si nto defined, and if I add a Script tag linking to the fckeditor directory it gives me an error from Cake as if it thinks there is a missing Js Controller.
:/
I am not sure if I also need to add a call to the FCKEditor script source -- I realise you have a basepath in your function to handle this, but it is not working for me.
any ideas?
should I remove certain files from the fckeditor directory ? Like the .html ones etc?
I have inserted Ckeditor 3.x in my page and i submit my form data (along with the text area)to the controller. I am trying to save data to Mysql database but not able to save. I wonder if this is a correct way of doing it.
Form name = Admin
Field name = content
Controller name = Admins
Modelname = Admin
mycontroller code:
$grn3 = $this->data['Admin']['content'] ;
$this->Session->setFlash($grn3);
$this->Admin->set($this->data ); //setting data to model
$this->Admin->saveField('content', $grn3); //saving single field
Setflash method flashes the data content, but save is not working. I am not sure if this is the way of saving text editor data to database. Please show me how to save editor data to datatbase.
Thankx
John M.