Page 1 of 1

Disable fckeditor

Posted: Sat Jun 17, 2006 5:37 am
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?

Re: Disable fckeditor

Posted: Sat Jun 17, 2006 9:13 am
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)

Re: Disable fckeditor

Posted: Sat Jun 17, 2006 9:36 am
by Muzzy
Thanks Maarten.

I'll take a look later.

Mike.

Re: Disable fckeditor

Posted: Sun Jun 18, 2006 6:32 am
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.

Re: Disable fckeditor

Posted: Sun Jun 18, 2006 12:38 pm
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' ;

Re: Disable fckeditor

Posted: Sun Jun 18, 2006 5:17 pm
by Muzzy
Hi Mark.

Excellent, thanks my friend.

Mike.