View Single Post

Old 05-24-2009   #2 (permalink)
seemybiz
Junior Member
 
Join Date: Feb 2008
Posts: 20
seemybiz is on a distinguished road
Default Re: fckeditor Reduced Options

I worked it out. If any needs to know how please see the following:

To add a basic editor for users and still keep all the editing options for the admin.

1. Go to the Subrion install folder: Example: public_html/sbr/js/fckeditor. Make a copy of fckeditor.js and name it “admin_fckeditor.js”

2. In the same folder go to the file "fckeditor.js" and find this line:
Code:
ToolbarSet		= toolbarSet	|| 'User' ;”
and change to:
Code:
ToolbarSet		= toolbarSet	|| 'Basic' ;”
3. Go to: public_html/sbr/packages/publishing/admin. Open file "article_submit.php" and find line:
Code:
<script type="text/javascript" src="../js/fckeditor/fckeditor.js"></script>
Change to:
Code:
<script type="text/javascript" src="../js/fckeditor/admin_fckeditor.js"></script>
That's it. If there is a better way please let me know.
__________________
Brad
Learn or teach something new each day, or what's the point?

Last edited by seemybiz; 05-24-2009 at 09:49 AM. Reason: Clarified
seemybiz is offline   Reply With Quote