I really am a newbie. Have found the tablecommands plugin in my downloaded version of the editor. Have tried to work out the Wiki plugin installation details but am very lost. Can anyone point me to a step by step guide please?
Thank You
mitchell65
Thank You
mitchell65
RE: Tablecommands plugin
Hi mitchellbonzo !

there is 1 file to edit in order to use the table commands buttons : fckconfig.js
This is the file that is used by fckeditor to config plugins, toolbar etc...
in this file, you have a table called ToolbarSets. Check it out, and add the table commands as in this sample code :
FCKConfig.ToolbarSets['MyToolBar'] = [
['Help','Cut','Copy','Paste'],
['Undo','Redo','-','Find','Replace'],
// INSERTING TABLE COMMANDS HERE
['Table','TableInsertRow','TableDeleteRows','TableInsertColumn','TableDeleteColumns',
'TableInsertCell','TableDeleteCells','TableMergeCells','TableSplitCell'],
'/',
['Style','Bold','Italic','Underline','RemoveFormat'],
['OrderedList','UnorderedList','-','Outdent','Indent'],
['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
['SpecialChar','-','Source','Preview']
];
Then, at the end of the file, you can add a line that tells fckeditor to load a plugin, that will informe fckeditor how to add the buttons of the table commands like "insertRow", "splitCell" etc...
you tell him to add a plugin like this :
var sPluginPath = FCKConfig.BasePath.substr(0, FCKConfig.BasePath.length - 7) + 'editor/plugins/' ;
// FCKConfig.Plugins.Add('plugin name','language', 'path')
FCKConfig.Plugins.Add( 'tablecommands', null, sPluginPath ) ;
where sPluginPath is a string (since the s at the begining of the variable name) that contains the path to the plugins directory.
I think this is basically what you should do to get it work. Feel free to ask questions if it dosen't and we'll try to help you.
Y.Chaouche
RE: Tablecommands plugin
Thank You
mitchellbonzo
RE: Tablecommands plugin
Y.Chaouche
RE: Tablecommands plugin
mitchellbonzo
RE: Tablecommands plugin
Y.Chaouche
RE: Tablecommands plugin
Brilliant help - thank you a thousand times. I took your advice and checked and rechecked and guess what - Yes I found a stray comma. All is now working perfectly.
Thanks again
mitchellbonzo (a very happy bunny!)
RE: Tablecommands plugin
I'm glad i could help you
!
Y.Chaouche