TinyMC

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.
Post Reply
glennies
Forum Members
Forum Members
Posts: 12
Joined: Sun Dec 23, 2007 5:45 am

TinyMC

Post by glennies »

Hello to all,

I was wondering if it was possible to expand the editors toolset? At the moment I am running TinyMC but the tool set seems very limited compared to other cms's out there. For example adding buttons to allow tables to be created. Is it better to install FCKeditor or can tinyMC be expanded?

thanks,

Glenn
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: TinyMC

Post by Nullig »

It's easy to add buttons. Let's say you want to add the Media button, you would do it this way:

1. Download the full version of TinyMCE 2.1.2 from SourceForge:

      http://sourceforge.net/project/showfile ... _id=111430

2. Unzip the archive to your HD and browse to the plugins directory

3. Copy the media directory to the plugins directory of your CMSMS TinyMCE module

4. Edit tinyconfig.php, change line 83 from:

Code: Select all

 $plugins="cmsmslink,fullscreen,advimage,simplebrowser,paste,advlink";
to:

Code: Select all

 $plugins="cmsmslink,fullscreen,advimage,simplebrowser,paste,advlink,media";
5. Open TinyMCE in Admin and click on the Toolbars tab. Change Toolbar 2 from:

Code: Select all


bold,italic,underline,strikethrough,separator,bullist,numlist,separator,outdent,indent,separator,undo,redo,separator,cmsmslink,link,unlink,anchor,image,charmap,cleanup,separator,forecolor,backcolor,separator,code,fullscreen,help

to:

Code: Select all


bold,italic,underline,strikethrough,separator,bullist,numlist,separator,outdent,indent,separator,undo,redo,separator,cmsmslink,link,unlink,anchor,image,media,charmap,cleanup,separator,forecolor,backcolor,separator,code,fullscreen,help

That will add the Media button for you. Use the same process for any other 20 or so buttons you want to add.

Nullig
Last edited by Nullig on Fri Mar 28, 2008 5:05 pm, edited 1 time in total.
glennies
Forum Members
Forum Members
Posts: 12
Joined: Sun Dec 23, 2007 5:45 am

Re: TinyMC

Post by glennies »

Hi Nullig,

Thanks for your help but the bottom two code examples you provided arent showing, all i see is the scroll bars.. can you please repost the code.. 

Cheers,

Glenn
Nullig wrote: It's easy to add buttons. Let's say you want to add the Media button, you would do it this way:

1. Download the full version of TinyMCE 2.1.2 from SourceForge:

      http://sourceforge.net/project/showfile ... _id=111430

2. Unzip the archive to your HD and browse to the plugins directory

3. Copy the media directory to the plugins directory of your CMSMS TinyMCE module

4. Edit tinyconfig.php, change line 83 from:

Code: Select all

 $plugins="cmsmslink,fullscreen,advimage,simplebrowser,paste,advlink";
to:

Code: Select all

 $plugins="cmsmslink,fullscreen,advimage,simplebrowser,paste,advlink,media";
5. Open TinyMCE in Admin and click on the Toolbars tab. Change Toolbar 2 from:

Code: Select all

bold,italic,underline,strikethrough,separator,bullist,numlist,separator,outdent,indent,separator,undo,redo,separator,cmsmslink,link,unlink,anchor,image,media,charmap,cleanup,separator,forecolor,backcolor,separator,code,fullscreen,help
to:

Code: Select all

bold,italic,underline,strikethrough,separator,bullist,numlist,separator,outdent,indent,separator,undo,redo,separator,cmsmslink,link,unlink,anchor,image,charmap,cleanup,separator,forecolor,backcolor,separator,code,fullscreen,help
That will add the Media button for you. Use the same process for any other 20 or so buttons you want to add.

Nullig
cubix
Power Poster
Power Poster
Posts: 314
Joined: Mon Jul 09, 2007 10:00 am

Re: TinyMC

Post by cubix »

$plugins="cmsmslink,fullscreen,advimage,simplebrowser,paste,advlink";

$plugins="cmsmslink,fullscreen,advimage,simplebrowser,paste,advlink,media";

bold,italic,underline,strikethrough,separator,bullist,numlist,separator,outdent,indent,separator,undo,redo,
separator,cmsmslink,link,unlink,anchor,image,media,charmap,cleanup,separator,forecolor,backcolor,separator,
code,fullscreen,help

bold,italic,underline,strikethrough,separator,bullist,numlist,separator,outdent,indent,separator,undo,redo,
separator,cmsmslink,link,unlink,anchor,image,charmap,cleanup,separator,forecolor,backcolor,separator,
code,fullscreen,help

http://www.getfirefox.com ??
Last edited by cubix on Tue Feb 12, 2008 6:29 am, edited 1 time in total.
glennies
Forum Members
Forum Members
Posts: 12
Joined: Sun Dec 23, 2007 5:45 am

Re: TinyMC

Post by glennies »

thanks Cubix much appreciated.

www.noidonthavefirefox.com !!
alby

Re: TinyMC

Post by alby »

glennies wrote: For example adding buttons to allow tables to be created.
Only for info:
for tables there is a checkbox (first field in TinyMCE WYSIWYG Basic administration): Allow table operations

Alby
glennies
Forum Members
Forum Members
Posts: 12
Joined: Sun Dec 23, 2007 5:45 am

Re: TinyMC

Post by glennies »

hello all

i opened tinyconfig.php and i cant find the lines of code to edit, can that be right? Is version 3 of tinymce easy to upgrade and will it provide all the features by default.

thanks

glenn
alby

Re: TinyMC

Post by alby »

glennies wrote: i opened tinyconfig.php and i cant find the lines of code to edit, can that be right? Is version 3 of tinymce easy to upgrade and will it provide all the features by default.
It's around row #88
GetPreference("allow_tables","0")=="1") {
  $plugins.=",table";
Alby
Pierre M.

Re: TinyMC

Post by Pierre M. »

I often add "pasteword" after "paste" in the toolbar (config, no need to modify code).

Pierre M.
Post Reply

Return to “CMSMS Core”