Search
  Search
DEVELOP WEB APPLICATIONS WITH THE BEST AJAX FRAMEWORK.
CREATE LINE OF BUSINESS SILVERLIGHT APPLICATIONS IN NO TIME.
EVERY THING YOU NEED TO START DEVELOPING WITH VISUAL WEBGUI.
SEE VISUAL WEBGUI SHOW CASES FROM AROUND THE WORLD.
ALL THE RESOURCES YOU NEED TO START BUILDING VISUAL WEBGUI APPLICATIONS TODAY.
SHARE AND FIND VISUAL WEBGUI RESOURCES.
TALK WITH OTHER VISUAL WEBGUI DEVELOPERS.
 

 

SAP has chosen Visual WebGui for strategic web application, Mr. Saar of SAP explains why in an interview with with Jeremy Geelan at AJAX World.

Click on the video image to watch

SAP chosen VWG for strategic web application

 
  Forum  Module :: FCKEd...  Using the FCKEd...  FckEditor to read custom config file
Previous Previous
 
Next Next
New Post 3/12/2008 6:24 PM
  bzamfir
183 posts
zbconsulting.dyndns.org
5th Level Poster


FckEditor to read custom config file 

Hi,

I need to make an app where to let user to customize the toolbar in fckeditor. I don't want to change the defauilt fckconfig.js, so I want to create a custom config file where I'll create the definition for customized toolbar

However, it seems I cannot manage to make fckeditor to find the custom config file.

I placed custom config  file in root dir of the app

I tried

fckeditor.CustomConfigurationFile = "~/myconfig.js";

fckeditor.CustomConfigurationFile = "/myconfig.js";

fckeditor.CustomConfigurationFile = "../../../../../myconfig.js";

fckeditor.CustomConfigurationFile = "myconfig.js";

But nothing seems to works

How can I access it?

Thank you


Bogdan Zamfir
Consultant / Developer / Programmer
http://zbconsulting.dyndns.org
View Bogdan Zamfir's profile on LinkedIn
 
New Post 3/16/2008 7:47 AM
  ori.cohen
1152 posts
1st Level Poster


Re: FckEditor to read custom config file 
Hello,
There
is currently no support for changing the main .js file of this editor for client-side toolbar customizations.
What you can do though is to use the many available server-side properties of the "fckEditor" to customize the look and feel of the editor. For example you could create a custom page, by which the users would be able to make the customizations they like, then submit the form to server-side, set the properties and save them in any way you like (cookie, database, server cache, session cache, etc...) so the user would have these configurations available to him throughout the time scope that you will choose.

Regards!

Ori Cohen
The Visual WebGui team
 
New Post 6/29/2008 5:18 PM
  asmi
3 posts
No Ranking


Re: FckEditor to read custom config file 

After very deep dive inside fck sources, I've discovered the way to do that:

fckEditor1.Config["CustomConfigurationsPath"] = "../fckconfig.custom.js";

Enjoy! :)

 
New Post 6/30/2008 12:48 AM
  ori.cohen
1152 posts
1st Level Poster


Re: FckEditor to read custom config file 
Hello Mr. Smirnov!

I want to thank you on the behalf of the Visual WebGui team for your valuable research and for providing this information in this forum thread.
We greatly appreciate your contribution to our community and hope that you make great use of our framework and other technologies.
Hope to see more of you here.

Regards,

Ori Cohen
The Visual WebGui team
 
New Post 6/30/2008 6:57 AM
  asmi
3 posts
No Ranking


Re: FckEditor to read custom config file 

First of all - thank you for the warm words.

And just a proposal - it would be great if you'll create a property that will incapsulate this "magic string" into property. This will make using that easier and more error-safe

 
Previous Previous
 
Next Next
  Forum  Module :: FCKEd...  Using the FCKEd...  FckEditor to read custom config file

Visual Studop Partners

Copyright © 2005-2008 Visual WebGui®   Terms Of Use  Privacy Statement
Visual WebGui is copyright 2005-2008 by Gizmox