Welcome, Guest. Please login or register.
Did you miss your activation email?
23 Jul 2008, 14:10

Login with username, password and session length
Home Chat Help Search Calendar Login Register
Pages: [1]
Print
Author Topic: TinyMC  (Read 600 times)
0 Members and 1 Guest are viewing this topic.
glennies
Forum Member
*

Karma: 0
Offline Offline

Posts: 12


« on: 11 Feb 2008, 22:04 »

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
Logged
Nullig
Power Poster
***

Karma: 53
Offline Offline

Posts: 1447

Location: White Rock, BC



« Reply #1 on: 12 Feb 2008, 00:09 »

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/showfiles.php?group_id=103281&package_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:
$plugins="cmsmslink,fullscreen,advimage,simplebrowser,paste,advlink";

to:

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

5. Open TinyMCE in Admin and click on the Toolbars tab. Change Toolbar 2 from:

Code:

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:

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 Edit: 28 Mar 2008, 13:05 by Nullig » Logged

When Irish eyes are smiling, they're usually up to something.
glennies
Forum Member
*

Karma: 0
Offline Offline

Posts: 12


« Reply #2 on: 12 Feb 2008, 01:24 »

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

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/showfiles.php?group_id=103281&package_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:
$plugins="cmsmslink,fullscreen,advimage,simplebrowser,paste,advlink";

to:

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

5. Open TinyMCE in Admin and click on the Toolbars tab. Change Toolbar 2 from:

Code:
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:
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
Logged
cubix
Power Poster
***

Karma: 1
Offline Offline

Posts: 322

Location: New Zealand


WWW
« Reply #3 on: 12 Feb 2008, 01:28 »

 $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 Edit: 12 Feb 2008, 01:29 by cubix » Logged

</war>
glennies
Forum Member
*

Karma: 0
Offline Offline

Posts: 12


« Reply #4 on: 12 Feb 2008, 02:38 »

thanks Cubix much appreciated.

www.noidonthavefirefox.com !!
Logged
alby
Member Support Team
Support Guru
Power Poster
****

Karma: 104
Offline Offline

Posts: 2413

Location: Ferrara, Italy


My kids


« Reply #5 on: 12 Feb 2008, 03:53 »

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
Logged

HOLIDAY:   15 July - 31 July

Member CMSMS Support Team
Italian Forum Moderator - Italian admin Project

Plugins: Geolocate hostip - Multiple random image - Image rotator (test beta) - Content Pagination

Modules: ForumMadeSimple - Howto (FMS)

Multilingual: CMSMS MLE 1.3.1 - Doc/Howto/Tips (#10)
glennies
Forum Member
*

Karma: 0
Offline Offline

Posts: 12


« Reply #6 on: 16 Feb 2008, 11:42 »

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
Logged
alby
Member Support Team
Support Guru
Power Poster
****

Karma: 104
Offline Offline

Posts: 2413

Location: Ferrara, Italy


My kids


« Reply #7 on: 16 Feb 2008, 14:01 »

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
Quote
         <?php
         $plugins="cmsmslink,fullscreen,advimage,simplebrowser,paste,advlink";
         if ($tiny->GetPreference("allow_tables","0")=="1") {
           $plugins.=",table";

Alby
Logged

HOLIDAY:   15 July - 31 July

Member CMSMS Support Team
Italian Forum Moderator - Italian admin Project

Plugins: Geolocate hostip - Multiple random image - Image rotator (test beta) - Content Pagination

Modules: ForumMadeSimple - Howto (FMS)

Multilingual: CMSMS MLE 1.3.1 - Doc/Howto/Tips (#10)
Pierre M.
Support Team member
Support Guru
Power Poster
****

Karma: 30
Offline Offline

Posts: 2665

Location: Paris

Please keep it simple


« Reply #8 on: 19 Feb 2008, 09:02 »

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

Pierre M.
Logged

-- Pierre, support team member. comodérateur du forum francophone.
Please read "how to submit installation/debug help requests" before posting. Don't send private messages to ask for support.
Want to contribute to CMSms ? Improve the wiki with your forum account.
Pages: [1]
Print
Jump to: