Changes to FCKEditor config do not take effect

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
7/1/2008 5:54:23 AM
Gravatar
Total Posts 15

Changes to FCKEditor config do not take effect

Mojo version: 2258

I am trying to edit the fckconfig.js (/ClientScript/FCKeditor26/fckconfig.js) to hide some of the edit buttons but the changes are not taking place. I have deleted my cache, refreshed the page etc but the changes are still not made. I have been able to change the FCKEditor config in older versions OK.

Any help would be greatly appreciated

7/1/2008 11:43:48 AM
Gravatar
Total Posts 36
Anchorage, Alaska

Re: Changes to FCKEditor config do not take effect

There is also a /ClientScript/mojofckconfig.js

Maybe this is the one that needs to be modified.

7/1/2008 1:10:48 PM
Gravatar
Total Posts 18439

Re: Changes to FCKEditor config do not take effect

Hi,

Yes, mojoportal is using the mojofckconfig.js file. However I don't recommend customizing that file directly. Instead, copy it and rename it and then change this setting to the new file. You will find this in Web.config but ideally uoi will override it in user.config

<add key="FCKeditor:CustomConfigPath" value="~/ClientScript/mojofckconfig.js" />

If you were to just customize mojofckconfig.js directly, you would likely lose your customizations next time you upgrade because the new file would replace the old one. By using your wown named file you can avoid this.

One other thing to be aware of is mojoportal's .NET wrapper around the FCKeditor needs the toolbar names to be as they are in mojofckconfig.js. It doesn't allow you to add new arbitrary named toolbars, but you can customize the exsiting named tool bars.

Hope it helps,

Joe

 

7/2/2008 6:01:07 AM
Gravatar
Total Posts 15

Re: Changes to FCKEditor config do not take effect

That's brilliantly helpful, thank you soo much!

You must sign in to post in the forums. This thread is closed to new posts.