Page 1 of 1

TinyMC

Posted: Tue Feb 12, 2008 3:04 am
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

Re: TinyMC

Posted: Tue Feb 12, 2008 5:09 am
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

Re: TinyMC

Posted: Tue Feb 12, 2008 6:24 am
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

Re: TinyMC

Posted: Tue Feb 12, 2008 6:28 am
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 ??

Re: TinyMC

Posted: Tue Feb 12, 2008 7:38 am
by glennies
thanks Cubix much appreciated.

www.noidonthavefirefox.com !!

Re: TinyMC

Posted: Tue Feb 12, 2008 8:53 am
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

Re: TinyMC

Posted: Sat Feb 16, 2008 4:42 pm
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

Re: TinyMC

Posted: Sat Feb 16, 2008 7:01 pm
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

Re: TinyMC

Posted: Tue Feb 19, 2008 2:02 pm
by Pierre M.
I often add "pasteword" after "paste" in the toolbar (config, no need to modify code).

Pierre M.