Hi again. I have been following the tutorial on FCJeditor integration found here:
http://wiki.cakephp.org/tutorials:online_editor-fckeditor I have got it to work on the 'add' view but not on the 'edit' view! This is because I can work out how to pass the value across to display in the editor for editing. Here is what I have in the 'add' view; how do I put the conents into '$oFCKeditor->Value' for editing? $oFCKeditor = new FCKeditor('data[Tier1doc][content]') ; // constructor parameter is a fild name in form $oFCKeditor->BasePath = "/cake/js/"; // folder where javascript files are, must be /js/ or subfolder $oFCKeditor->Value = ""; // edited content $oFCKeditor->Create(); // here will be editor frame I had tried a combination of: "data[Tier1doc][content]" (displays data[Tier1doc][content] in editor area) $data[Tier1doc][content] (Undefined variable: data) ...and so on! Any ideas would be much apprciated :o) --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
