Limit

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Locked
mrbs

Limit

Post by mrbs »

Is it possible to limit the opportunities in the "TinyMCE" WYSIWYG editor, so the user is limited to a few opportunities according to the design?

BTW This is the only CMS i really like! Thanks alot!
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm
Location: Fairless Hills, Pa USA

Limit

Post by Ted »

There are other themes that come with the standard TinyMCE distribution. I just used the advanced theme and cut the rest to save some space on the default distribution. It would be very easy to grab TinyMCE, copy over the basic (or whatever it's called) theme from it, and then change the theme type in TinyMCE.module.php.
TimothyFoo
Forum Members
Forum Members
Posts: 44
Joined: Wed Oct 12, 2005 8:50 pm

Re: Limit

Post by TimothyFoo »

Search for this:

Code: Select all

theme : "advanced",
				theme_advanced_toolbar_location : "top",
				verify_html : "false",
				verify_css_classes : "false",
				plugins : "table,advhr,advlink,emotions,iespell,insertdatetime,preview,zoom,flash,ibrowser",
				theme_advanced_buttons1_add : "fontselect,fontsizeselect,forecolor",
				theme_advanced_buttons2_add_before: "cut,copy,paste,separator",
				theme_advanced_buttons2_add : "separator,insertdate,inserttime,zoom",
				theme_advanced_buttons3_add : "tablecontrols,emotions,iespell,flash,advlink,advhr,ibrowser",
Just cut out the bits you don't want. eg "emotions".

It seems to be working ok for me. I was just searching for the same thing and got the idea while looking at the TinyMCE.module.php file - after readaing Wishy's advice
iNSiPiD

Re: Limit

Post by iNSiPiD »

So, alternatively, could we just copy the advanced theme, rename it to basic, and then strip out the buttons we don't want to display?
Locked

Return to “Modules/Add-Ons”