Hi
I cannot view the test docs in any browser, ie, net, opera, firefox. The text boxes display but all I get in place of the editor is text "FCKeditor - Default Toolbar Set" for instance. ie does produce a taskbar error saying that "fckeditor is undefined" ??
The FCKeditor directory is installed at localhost/mysite/FCKeditor/
Can some body push my in the right direction please
I cannot view the test docs in any browser, ie, net, opera, firefox. The text boxes display but all I get in place of the editor is text "FCKeditor - Default Toolbar Set" for instance. ie does produce a taskbar error saying that "fckeditor is undefined" ??
The FCKeditor directory is installed at localhost/mysite/FCKeditor/
Can some body push my in the right direction please

RE: Does not work in any browser?
Without more info, it could be anything.
RE: Does not work in any browser?
</head>
<body>
<form action="TestSubmit.asp" target="_blank" method="post" language="javascript">
Normal Text Field<BR>
<input type="text" name="NormalInput" value="My 'normal' "field" value"><br>
<br>
Normal Textarea<br>
<textarea name="NormalTextArea" rows="2" cols="20"></textarea>
<br>
<br>
FCKeditor - Default Toolbar Set<BR>
<script language="javascript">
<!--
var oFCKeditor ;
oFCKeditor = new FCKeditor('EditorDefault') ;
oFCKeditor.BasePath = '/FCKeditor/' ; // '/FCKeditor/' is the default value so this line could be deleted.
oFCKeditor.Value = 'This is some <B>sample text</B>.' ;
oFCKeditor.Config['StyleNames'] = ';Style 1;Style 2; Style 3' ;
oFCKeditor.Config['ToolbarFontNames'] = ';Arial;Courier New;Times New Roman;Verdana' ;
oFCKeditor.Create() ;
//-->
</script>
<br>
FCKeditor - Accessibility Toolbar Set<BR>
<script language="javascript">
<!--
oFCKeditor = new FCKeditor('EditorAccessibility') ;
oFCKeditor.Width = '80%' ;
oFCKeditor.Height = 120 ;
oFCKeditor.ToolbarSet = 'Accessibility' ;
oFCKeditor.Value = 'This is another test. <BR><B>The "Second" row.</B>' ;
oFCKeditor.CanUpload = false ; // Overrides fck_config.js default configuration
oFCKeditor.CanBrowse = false ; // Overrides fck_config.js default configuration
oFCKeditor.Create() ;
//-->
</script>
<br>
<br>
FCKeditor - Basic Toolbar Set<BR>
<script language="javascript">
<!--
oFCKeditor = new FCKeditor('EditorBasic', 300, 80, 'Basic', '<P align="center">Another test.</P>') ;
oFCKeditor.Create() ;
//-->
</script>
<br>
<br>
<input type="submit" value="Submit Data">
<br>
</form>
This is the default test.html page.
Regards
C
RE: Does not work in any browser?
Change:
oFCKeditor.BasePath = '/FCKeditor/' ;
To:
oFCKeditor.BasePath = 'FCKeditor/' ;
Please let us know whether that makes any difference.
RE: Does not work in any browser?
Ie will not display the inline frames displaying a page not found. Must be a path thing surely?
C
RE: Does not work in any browser?
<script language="javascript" src="../fckeditor.js"></script>
If you call the js editor from your "mysite" dir, that should be changed to:
<script language="javascript" src="FCKeditor/fckeditor.js"></script>
Also check the case of the directory name. I would advise you to use lowercase for the directory name and then adjust the script to lowercase dirname too.
Some server setups get confused with mixed/uppercase.
So let's presume your server setup is this:
localhost/
mysite/
fckeditor/
the subdirs
If the file which is calling the editor is located in mysite, change the js header call path as well as the basepath to:
js: src="fckeditor/fckeditor.js"
basepath: 'fckeditor/'
If that still doesn't work, get the javascript console out in Netscape/Firefox and let us know the errormessage you are getting.
RE: Does not work in any browser?
http://localhost/usersites/fckeditor/_test/test.html
RE: Does not work in any browser?
And please let me know the complete path of the file in which this code resides.
RE: Does not work in any browser?
http://www.opensource.org/licenses/lgpl-license.php
http://www.fredck.com/FCKeditor/
fckeditor@fredck.com
fckeditor@fredck.com
<html> <head> <title>FCKeditor - Javascript Test Page</title> <meta name="ROBOTS" content="NOINDEX, NOFOLLOW"> <script language="javascript" src="fckeditor/fckeditor.js"></script> </head> <body> <form action="TestSubmit.asp" target="_blank" method="post" language="javascript"> Normal Text Field<BR> <input type="text" name="NormalInput" value="My 'normal' "field" value"><br> <br> Normal Textarea<br> <textarea name="NormalTextArea" rows="2" cols="20"></textarea> <br> <br> FCKeditor - Default Toolbar Set<BR> <script language="javascript"> <!-- var oFCKeditor ; oFCKeditor = new fckeditor('EditorDefault') ; oFCKeditor.BasePath = '/fckeditor/' ; // '/FCKeditor/' is the default value so this line could be deleted. oFCKeditor.Value = 'This is some <B>sample text</B>.' ; oFCKeditor.Config['StyleNames'] = ';Style 1;Style 2; Style 3' ; oFCKeditor.Config['ToolbarFontNames'] = ';Arial;Courier New;Times New Roman;Verdana' ; oFCKeditor.Create() ; //--> </script> <br> FCKeditor - Accessibility Toolbar Set<BR> <script language="javascript"> <!-- oFCKeditor = new fckeditor('EditorAccessibility') ; oFCKeditor.Width = '80%' ; oFCKeditor.Height = 120 ; oFCKeditor.ToolbarSet = 'Accessibility' ; oFCKeditor.Value = 'This is another test. <BR><B>The "Second" row.</B>' ; oFCKeditor.CanUpload = false ; // Overrides fck_config.js default configuration oFCKeditor.CanBrowse = false ; // Overrides fck_config.js default configuration oFCKeditor.Create() ; //--> </script> <br> <br> FCKeditor - Basic Toolbar Set<BR> <script language="javascript"> <!-- oFCKeditor = new fckeditor('EditorBasic', 300, 80, 'Basic', '<P align="center">Another test.</P>') ; oFCKeditor.Create() ; //--> </script> <br> <br> <input type="submit" value="Submit Data"> <br> </form> </body> </html>RE: Does not work in any browser?
P.S.: the basepath /js src path are inconsistent at this moment.
RE: Does not work in any browser?
RE: Does not work in any browser?
http://localhost/usersites/fckeditor/fckeditor.js
RE: Does not work in any browser?
http://localhost/usersites/fckeditor/fckeditor.js
RE: Does not work in any browser?
RE: Does not work in any browser?
RE: Does not work in any browser?
Place this in between the
<script language="javascript" src="../fckeditor.js"></script> and the </head> tag.
<script type="text/javascript">
function FCKeditor_OnComplete( editorInstance )
{
window.status = editorInstance.Description ;
}
</script>
Let's see if that helps...
RE: Does not work in any browser?
http://localhost/usersites/fckeditor/fckeditor.js
RE: Does not work in any browser?
C