Yes, Paul I know exactly what is causing that error. The "page not
found' is referring to the blank page that FCKEditor puts in the
editing area. you need to make sure the reference to that page is
correct.
On my instances of FCKEditor, that line is the following:
fckEditor.basePath = "/cfforms/scripts/fckeditor/";
or in some of my sites, i have the following:
fckEditor.basePath = "#application.fckeditorbasepath#";
The problem you have is similar to the previous problem - you just
need to tinker around with the values in that line to make sure it's
pointing to the folder that contains the fckeditor.cfc. (I"m assuming
you have kept all the files in teh same folder layout as the default
installation. I wouldnt recommend you move anything about unless yoo
konw what all those files do and where the path references to them
are).
Here's a complete FCKEditor instance from one of my sites, that you can follow:
<cfscript>
fckeditor = createObject("component",
"cfforms.scripts.fckeditor.fckeditor");
fckEditor.instanceName = "story"; //the field name in the
form scope
fckEditor.value = '#Content.getStory()#';
//the default value in
the editing window
fckEditor.basePath = "/cfforms/scripts/fckeditor/";
//fckEditor.toolbarset = "default";
fckEditor.width = "80%";
fckEditor.height = 400;
fckEditor.create(); // create the editor.
</cfscript>
Hope this gets you going - if not, feel free to ask more questions.
Cheers
Mike Kear
Windsor, NSW, Australia
Adobe Certified Advanced ColdFusion Developer
AFP Webworks
http://afpwebworks.com
ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month
On 5/18/07, Paul Henderson <[EMAIL PROTECTED]> wrote:
> Thanks Mike,
>
> I seemed to make some progress setting the basepath to /fckeditor/ and
> manually setting the fckeditor ro fckeditor = createObject("component",
> "fckeditor.fckeditor");
>
> But now, I get a page cannot be displayed error in the section the editor
> should load into. I'm not sure what I could be doing wrong, the
> documentation sure makes the process seem simple enough. Any other thoughts?
> Thanks again.
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create Web Applications With ColdFusion MX7 & Flex 2.
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278515
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4