Hello,
I am trying to setup fckeditor v2.0fc on a local machine (WinXP SP2, Sambar Server, PHP 4.3.2, MySQL 3.23.49) as a textarea replacement.
I Installed the editor this way:
- I copied -editor- folder in Z:\european\@www\admin\ where the data entry page is (Z:\ is the root folder of my http server).
- In <head> I added:
<script type="text/javascript" src="editor/fckeditor.js"></script>
<script type="text/javascript">
window.onload = function()
{
var sBasePath = '\european\@www\admin\';
var oFCKeditor = new FCKeditor( '{article_Name}' ) ;
oFCKeditor.BasePath = sBasePath ;
oFCKeditor.ReplaceTextarea() ;
}
</script>
- The TextArea Code is this:
<textarea class="cpanel1Textarea" name="{article_Name}" rows="20" cols="80">{article}</textarea>
({article_Name} and {article} are template variables which are calculated before execution.
The result is that page is working as usual with no fck editor at all.
I am doing something wrong here, it is obvious, I just can't find what... Any suggestions will be appreciated.
Thank you
Mon, 07/11/2005 - 12:00
#1
RE: Cannot setup fckeditor...