[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 948
  • Last Modified:

FCKEditor image upload - coldfusion

I feel kind of silly asking this question but I do not see where you tell FCKEditor what folder that you want it to upload an image to. When I try to upload an image, it should start by displaying the files that are already in that directory and then give me a choice of uploading an image from my pc. I cannot get it to display the images on my server.
How is this done?

Thanks

John
0
tubize
Asked:
tubize
1 Solution
 
MichaelEvangelistaCommented:
Hi John -
I just set up the new version of FCK for the first time myself , for use in a ColdFusion form.

Read this page : http://wiki.fckeditor.net/Developer%27s_Guide/Integration/ColdFusion

Scroll down, and you will see

/////////////////////////////////////////////////
Changing the default userfiles directory:

- Create a new file called Application.cfm and save it in the root directory of your application. If you already have an Application.cfm file you can use that one of course.

If you only need 1 UserFiles directory, add the following to you Application.cfm file (pick 1):

<cfset request.FCKeditor = StructNew()>
<cfset request.FCKeditor.userFilesPath = "/myApplication/FCK_TEST1/UserFiles/"> (or whatever other directory you want to use)

OR

<cfapplication name="FCKeditor_samples"> (Only add this if you don't already have a cfapplication tag)
<cfset application.FCKeditor = StructNew()>
<cfset application.FCKeditor.userFilesPath = "/myApplication/FCK_TEST1/UserFiles/">

/////////////////////////////////////////////////
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now