TinyMC
TinyMC
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
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
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:
to:
5. Open TinyMCE in Admin and click on the Toolbars tab. Change Toolbar 2 from:
to:
That will add the Media button for you. Use the same process for any other 20 or so buttons you want to add.
Nullig
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";
Code: Select all
$plugins="cmsmslink,fullscreen,advimage,simplebrowser,paste,advlink,media";
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
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
Nullig
Last edited by Nullig on Fri Mar 28, 2008 5:05 pm, edited 1 time in total.
Re: TinyMC
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
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:
to:Code: Select all
$plugins="cmsmslink,fullscreen,advimage,simplebrowser,paste,advlink";
5. Open TinyMCE in Admin and click on the Toolbars tab. Change Toolbar 2 from:Code: Select all
$plugins="cmsmslink,fullscreen,advimage,simplebrowser,paste,advlink,media";
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.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
Nullig
Re: TinyMC
$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 ??
$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.
Re: TinyMC
Only for info:glennies wrote: For example adding buttons to allow tables to be created.
for tables there is a checkbox (first field in TinyMCE WYSIWYG Basic administration): Allow table operations
Alby
Re: TinyMC
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
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
It's around row #88glennies 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.
AlbyGetPreference("allow_tables","0")=="1") {
$plugins.=",table";
Re: TinyMC
I often add "pasteword" after "paste" in the toolbar (config, no need to modify code).
Pierre M.
Pierre M.