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

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

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.

0
Lev Seltzer
Asked:
Lev Seltzer
  • 3
1 Solution
 
hongjunCommented:
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

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

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