Solved

FCK CustomConfigurationsPath

Posted on 2006-11-19
4
535 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

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…
I would like to start this tip/trick by saying Thank You, to all who said that this could not be done, as it forced me to make sure that it could be accomplished. :) To start, I want to make sure everyone understands the importance of utilizing p…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

816 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

8 Experts available now in Live!

Get 1:1 Help Now