Re: Need some help with fckeditor
Re: Need some help with fckeditor
- Subject: Re: Need some help with fckeditor
- From: Mike Bobkiewicz <email@hidden>
- Date: Mon, 23 Jul 2007 16:40:57 +0200
Am 23.07.2007 um 15:42 schrieb Gino Pacitti:
What about the path to the basepath
oFCKeditor.BasePath = 'fckeditor/fckeditor.js' ;
Should it not be the root of your server.... oFCKeditor.BasePath =
'/fckeditor/fckeditor.js' ;
I´ve tested this but this produces an "file not found" error in the
run log of the project. I think the path notification is ok because
the fckeditor resists within the project folder and not in the root
directory of the webserver. Also tried "..'/fckeditor/fckeditor.js'"
without success.
Or do you have the directory correctly named?
FCKeditor/
It´s always the fourth think to check out ;-). The spelling is ok.
Greetings,
Mike
Gino
On 23 Jul 2007, at 14:36, Mike Bobkiewicz wrote:
Hi list,
I can´t bring fckeditor and WO 5.3 together on my OS X 10.4
machine. I´ve copied the fckeditor folder and added it to the
projects webserver resources but anything I try just fails. Even
the sample which works from the apache directory on the same
machine doesn´t work. Maybe somebody could please point me out
what I´m doing wrong. The following code comes from an empty
WOComponent to which I´ve copied the code from the sample:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta name="generator" content="WebObjects 5.3.1">
<title>Untitled</title>
<script type="text/javascript" src="fckeditor/fckeditor.js"></
script>
<script type="text/javascript">
window.onload = function()
var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ;
oFCKeditor.BasePath = 'fckeditor/fckeditor.js' ;
oFCKeditor.ReplaceTextarea() ;
</script>
</head>
<body>
<form action="sampleposteddata.asp" method="post" target="_blank">
<div>
<textarea name="FCKeditor1" rows="10" cols="80" style="width:
100%; height: 200px">This is some <strong>sample text</
strong>.</textarea>
</div>
<br />
<input type="submit" value="Submit" />
</form>
</body>
</html>
Please keep in mind, my knowledge with html and javascript is
somewhere around zero which may declare my problems. A little hint
how to use it with WOTextFields would also be very nice.
Best regards,
Mike Bobkiewicz _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40mac.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden