Subrion CMS Support Forums  

Go Back   Subrion CMS Support Forums > Subrion CMS Packages Discussion > Article Publishing General Discussion

Article Publishing General Discussion Here we discuss current functionality of our article publishing package for Subrion CMS.

Reply

 

LinkBack Thread Tools Display Modes
Old 05-23-2009   #1 (permalink)
Junior Member
 
Join Date: Feb 2008
Posts: 20
seemybiz is on a distinguished road
Default fckeditor Reduced Options

I was able to scale down the editor in eSyndicat, but now I am going to Subrion ver 1.1 with the publishing package and I need to remove all of the extras from the user editor. I want the Admins to be the only ones to have advanced controls, all other users will see just the very basic editor with no html or other advanced options.

Any help here?

As a idea for a future version, I think this would be a good option in the admin panel, under Configuration> Publishing.

Thanks!
__________________
Brad
Learn or teach something new each day, or what's the point?
seemybiz is offline   Reply With Quote
Old 05-24-2009   #2 (permalink)
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 08:49 AM. Reason: Clarified
seemybiz is offline   Reply With Quote
Old 05-24-2009   #3 (permalink)
Super Moderator
 
Join Date: Aug 2007
Location: Tennessee
Posts: 183
dstemper is on a distinguished road
Default Re: fckeditor Reduced Options

Nice one indeed. This is great.
dstemper is offline   Reply With Quote
Reply

Tags
editor, fckeditor, no html, options

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
Reduce options in the members editor webgomer Subrion Core Discussion 3 03-13-2008 02:43 AM
More Ratings Options Bangkok Bob Subrion Core Discussion 7 10-19-2007 02:08 AM


All times are GMT -6. The time now is 12:20 AM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0