I am trying to get started using FCKeditor now that I have a Cold Fusion 7 server (hosted server with hostmysite.com).
However both the sample files and my own fail to load getting as error on the following:
fckEditor=CreateObject("component", "fckeditor/fckeditor")
I modified the fckeditor.js to comment out the ASP and uncomment the Cold Fusion code.
I modified the config.cfm to set the value to true, but its still failing as noted above.
I put the FCKeditor folder in my protected folder figuring maybe that was necessary to resolve the path. Both there and the WebRoot it fails.
Does anyone else hae any advice given the error.
I have tried the code as such (which someoneelse claimed to have luck with based on my googling on this issue):
<!--- FCKeditor Code --->
<!---path to the cfceditor.cfc--->
<cfset fckEditor=CreateObject("component", "fckeditor/fckeditor")>
<!---name of the form field you want to use--->
<cfset fckEditor.instanceName="MYENTRYFORM">
<!---default value--->
<cfset fckEditor.value="<CFOUTPUT>#GetArticle.ArticleBody#</CFOUTPUT>">
<!---path to the fckeditor folder (where it'll get the .js files and such)--->
<cfset fckEditor.basePath="../../../fckeditor/">
<!---specify the toolbar i want to use - "default" is the default--->
<cfset fckEditor.ToolbarSet="default">
<!---and finally the size--->
<cfset fckEditor.width="600">
<cfset fckEditor.height=500>
<form action="Edit-PreviewArticle.cfm" method="post">
<cfset fckEditor.create()>
<br>
<input type="submit" value="Submit">
</form>
Thanks in advance
However both the sample files and my own fail to load getting as error on the following:
fckEditor=CreateObject("component", "fckeditor/fckeditor")
I modified the fckeditor.js to comment out the ASP and uncomment the Cold Fusion code.
I modified the config.cfm to set the value to true, but its still failing as noted above.
I put the FCKeditor folder in my protected folder figuring maybe that was necessary to resolve the path. Both there and the WebRoot it fails.
Does anyone else hae any advice given the error.
I have tried the code as such (which someoneelse claimed to have luck with based on my googling on this issue):
<!--- FCKeditor Code --->
<!---path to the cfceditor.cfc--->
<cfset fckEditor=CreateObject("component", "fckeditor/fckeditor")>
<!---name of the form field you want to use--->
<cfset fckEditor.instanceName="MYENTRYFORM">
<!---default value--->
<cfset fckEditor.value="<CFOUTPUT>#GetArticle.ArticleBody#</CFOUTPUT>">
<!---path to the fckeditor folder (where it'll get the .js files and such)--->
<cfset fckEditor.basePath="../../../fckeditor/">
<!---specify the toolbar i want to use - "default" is the default--->
<cfset fckEditor.ToolbarSet="default">
<!---and finally the size--->
<cfset fckEditor.width="600">
<cfset fckEditor.height=500>
<form action="Edit-PreviewArticle.cfm" method="post">
<cfset fckEditor.create()>
<br>
<input type="submit" value="Submit">
</form>
Thanks in advance

RE: Getting Started with FCKeditor and CF 7
You don't mention the error message you are getting. Without that, it's impossible to help you.
Also, the following line in your code is wrong (maybe it's causing your error):
<cfset fckEditor.value="<CFOUTPUT>#GetArticle.ArticleBody#</CFOUTPUT>">
Should be:
<cfset fckEditor.value = GetArticle.ArticleBody>
RE: Getting Started with FCKeditor and CF 7
Could not find the ColdFusion Component fckeditor/fckeditor.
Please check that the given name is correct and that the component exists.
The error occurred in C:\websites\wb7kkx\HeyWiki\protected\EditArticle.cfm: line 190
188 : <!--- FCKeditor Code --->
189 : <!---path to the cfceditor.cfc--->
190 : <cfset fckEditor=CreateObject("component", "fckeditor/fckeditor")>
191 : <!---name of the form field you want to use--->
192 : <cfset fckEditor.instanceName="MYENTRYFORM">
RE: Getting Started with FCKeditor and CF 7
<cfset fckEditor=CreateObject("component", "fckeditor/fckeditor")>
expects that there is a folder in your webroot called fckeditor, and that folder holds a file called fckeditor.cfc.
Can you confirm that those exist.
RE: Getting Started with FCKeditor and CF 7