Disable fckeditor

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
Muzzy

Disable fckeditor

Post by Muzzy »

Is it possible to disable functions in fck editor or the editor alltogether.

The reason I ask is that the people who I designed the site for are logging in and altering the text in edit page mode using the drop down boxes (style, font, size etc) which makes the whole thing look awful.

It might be easier if I did away with an editor altogether?
Maarten
Forum Members
Forum Members
Posts: 84
Joined: Sat May 06, 2006 9:52 am

Re: Disable fckeditor

Post by Maarten »

You can disable the fckeditor in the user preferences, but that has to be done for each user. You can also edit the files that are in the fckeditor to disable certain functions, I am searching what file it is.

EDIT: You can disable functions by editing the FCKeditorXcfg.js.php file. It is located in your cms folder -> modules -> FCKeditorX FCKeditorXcfg.js.php (line 26 and further)
Last edited by Maarten on Sat Jun 17, 2006 9:20 am, edited 1 time in total.
Muzzy

Re: Disable fckeditor

Post by Muzzy »

Thanks Maarten.

I'll take a look later.

Mike.
Muzzy

Re: Disable fckeditor

Post by Muzzy »

Thanks Maarten & Patricia.

That works brilliantly, I have now taken out Styles, Text size etc and only left the ability to add a new heading etc.
I was wondering if it is possible to limit it further by only allowing H3 and H4 to be added?

Mike.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Disable fckeditor

Post by Dr.CSS »

try /modules/FCKeditorX/FCKeditor/fckconfig.js  lines 102 >103...

FCKConfig.FontNames= 'Arial;Comic Sans MS;Courier New;Tahoma;Times New Roman;Verdana' ;
FCKConfig.FontSizes= '1/xx-small;2/x-small;3/small;4/medium;5/large;6/x-large;7/xx-large' ;
FCKConfig.FontFormats= 'p;div;pre;address;h1;h2;h3;h4;h5;h6' ;
Muzzy

Re: Disable fckeditor

Post by Muzzy »

Hi Mark.

Excellent, thanks my friend.

Mike.
Locked

Return to “CMSMS Core”