I am building a form that has about 6 textareas on it and i want FCKeditor to appear for each one. My question is how do I get that to happen? I understand the PHP code I got from the test.php file supplied with FCK editor:
, but what I don't understand is how you control what textareas get the editor. The textareas are all named (let's say 'A','B','C' for simplicity) and I just don't see (based on their code supplied) how you control what fields get the editor? Hope that makes sense.
<?php $oFCKeditor = new FCKeditor ; $oFCKeditor->BasePath = '../../FCKeditor/' ; $oFCKeditor->Value = 'data' ; $oFCKeditor->CreateFCKeditor( 'EditorDefault', '100%', 150 ) ; ?>
, but what I don't understand is how you control what textareas get the editor. The textareas are all named (let's say 'A','B','C' for simplicity) and I just don't see (based on their code supplied) how you control what fields get the editor? Hope that makes sense.
RE: multiple editors
FCK will create a hidden field as well as an IFrame where the editor will take place.
it works well for me!