Solved

FCK CustomConfigurationsPath

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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Select distinct 25 116
Passing Parameter to Stored Procedure 4 27
alert(innerHTML); 8 33
Html Table looping 4 26
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…
I was asked about the differences between classic ASP and ASP.NET, so let me put them down here, for reference: Let's make the introductions... Classic ASP was launched by Microsoft in 1998 and dynamically generate web pages upon user interact…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

820 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