Hello,
I am using FCKEditor2.6.4 @Windows + PHP.
I want to add two more menus (open list-box on click) to toolbar and on selection of item in those list-boxes item should be inserted to editor right at cursor position.
I could not find how to do it. Please help me with any suggestion you have.
Thanks a lot.
I am using FCKEditor2.6.4 @Windows + PHP.
I want to add two more menus (open list-box on click) to toolbar and on selection of item in those list-boxes item should be inserted to editor right at cursor position.
I could not find how to do it. Please help me with any suggestion you have.
Thanks a lot.

Re: Adding more options (list boxes) to toolbar
Re: Adding more options (list boxes) to toolbar
Many many thanks to you for this reply.
I got your plugin on forum. and by taking idea from it developed my own plugin (working fine with Mozilla FF3.0 and IE7).
I am giving my code in fckplugin.js
var PersonalizationCommand = function( name ) { this.Name = name ; } PersonalizationCommand.prototype.Execute = function( name, item ) { FCKUndo.SaveUndoStep() ; FCK.InsertHtml( item.Definition ); FCKUndo.SaveUndoStep() ; FCK.Focus() ; FCK.Events.FireEvent( 'OnSelectionChange' ); }; PersonalizationCommand.prototype.GetState = function() { if ( FCK.EditMode != FCK_EDITMODE_WYSIWYG || !FCK.EditorDocument ) { return FCK_TRISTATE_DISABLED; } return FCK_TRISTATE_OFF; }; FCKCommands.RegisterCommand( 'Personalization' , new PersonalizationCommand() ) ; //////////// var Personalization = function( tooltip, style ) { this.Command = FCKCommands.GetCommand( 'Personalization' ) ; this.CommandName = 'Personalization' ; this.Label = this.GetLabel() ; this.Tooltip = tooltip?tooltip:this.Label ; this.Style = style ; this.DefaultLabel = FCKConfig.DefaultPersonalizationLabel || '' ; }; Personalization.prototype = new FCKToolbarSpecialCombo ; Personalization.prototype.GetLabel = function() { return FCKLang.Personalization; //return 'Personalization' ; }; Personalization.prototype.CreateItems = function(target) { var personalizations = FCKConfig.PersonalizationItems.split(';') ; var item; var optionVal; var optionText; var HtmlToInsert; for ( var i = 0 ; i < personalizations.length ; i++ ) { optionVal = personalizations[i]; optionText = personalizations[i]; item = target.AddItem( optionVal, optionText ); item.Name = optionVal; HtmlToInsert = FCKConfig.Prefix+optionVal+FCKConfig.Suffix; item.Definition = HtmlToInsert; } } FCKToolbarItems.RegisterItem( 'Personalization', new Personalization( 'Personalization', FCK_TOOLBARITEM_ICONTEXT ) ) ;