Solved

FCK CustomConfigurationsPath

Posted on 2006-11-19
4
532 Views
Last Modified: 2009-08-20
I am writing a simple ASP program that uses the FCK editor. I want to use the CustomConfigurationsPath setting, and can't figure out how to implement it.

My current attempt is this:

Dim oFCKeditor
Set oFCKeditor = New FCKeditor
oFCKeditor.BasePath = "/admin/FCKeditor/"
oFCKeditor.Config["CustomConfigurationsPath"] = "/admin2/myfckconfig.js"
oFCKeditor.Create "Message"                              

The error is: "Object doesn't support this property or method: 'Config' "

The included samples do not explain how to use this property.  The WIKI talks about setting the property via javascript, but I tried it and I didn't get any editor at all. A Google search turned up several hundred results, and the few I checked did not seem to clearly list a solution.

Any ideas how to do this?

Thank you.

0
Comment
Question by:Lev Seltzer
  • 3
4 Comments
 
LVL 33

Accepted Solution

by:
hongjun earned 500 total points
ID: 17974878
Use round brackets instead of square brackets.

oFCKeditor.Config("CustomConfigurationsPath") = "/admin2/myfckconfig.js"
0
 
LVL 33

Expert Comment

by:hongjun
ID: 17974880
Did you include <!-- #INCLUDE file="../../fckeditor.asp" --> somewhere?
0
 

Author Comment

by:Lev Seltzer
ID: 17974910
Awesome.  Thank you for the quick and correct solution.
0
 
LVL 33

Expert Comment

by:hongjun
ID: 17974911
No problem :)
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Hello, all! I just recently started using Microsoft's IIS 7.5 within Windows 7, as I just downloaded and installed the 90 day trial of Windows 7. (Got to love Microsoft for allowing 90 days) The main reason for downloading and testing Windows 7 is t…
Have you ever needed to get an ASP script to wait for a while? I have, just to let something else happen. Or in my case, to allow other stuff to happen while I was murdering my MySQL database with an update. The Original Issue This was written…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

746 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now