Solved

FCKEditor image upload - coldfusion

Posted on 2006-10-21
1
894 Views
Last Modified: 2013-12-16
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
Comment
Question by:tubize
1 Comment
 

Accepted Solution

by:
MichaelEvangelista earned 125 total points
ID: 17781748
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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
iSeries email authority 6 75
ejb example issues 3 29
How to concatenate fields in zpl, and how to use conditional statement? 3 54
BATCH to EXE Converter 2 41
A short article about a problem I had getting the GPS LocationListener working.
Displaying an arrayList in a listView using the default adapter is rarely the best solution. To get full control of your display data, and to be able to refresh it after editing, requires the use of a custom adapter.
The purpose of this video is to demonstrate how to set up the permalinks on a WordPress Website. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Go t…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question