FCK CustomConfigurationsPath

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.

Lev SeltzerAsked:
Who is Participating?
 
hongjunConnect With a Mentor Commented:
Use round brackets instead of square brackets.

oFCKeditor.Config("CustomConfigurationsPath") = "/admin2/myfckconfig.js"
0
 
hongjunCommented:
Did you include <!-- #INCLUDE file="../../fckeditor.asp" --> somewhere?
0
 
Lev SeltzerAuthor Commented:
Awesome.  Thank you for the quick and correct solution.
0
 
hongjunCommented:
No problem :)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.