I'm happy to have the new CMS running so far but when I tried to edit a page (e.g. the default home page) the toolbar of the FCKeditor isn't showing up. I checked the demo and I can see it there, so it's not a browser issue.
Checking the Firefox JavaScript console there are numerous errors, most of them related to IE proprietary CSS rules but one of them is in a js file and the warning reads like this: FCKDialogComk is not defined and is located in /cmsmadesimple/modules/FCKeditorX/FCKeditor/editor/js/fckeditorcode_gecko_2.js
(line: 34)
The error source it shows is that one:
Code: Select all
var FCKCommands=FCK.Commands=new Object();
FCKCommands.LoadedCommands=new Object();
FCKCommands.RegisterCommand=function(A,B)
{
this.LoadedCommands[A]=B;
};
FCKCommands.GetCommand=function(A)
{
var B=FCKCommands.LoadedCommands[A];
if (B) return B;
switch (A)
{
case 'DocProps':B=new FCKDialogCommand('DocProps',FCKLang.DocProps,'dialog/fck_docprops.html',400,390,FCKCommands.GetFullPageState);
break;
case 'Templates':B=new FCKDialogCommand('Templates',FCKLang.DlgTemplatesTitle,'dialog/fck_template.html',380,450);
break;
case 'Link':B=new FCKDialogCommand('Link',FCKLang.DlgLnkWindowTitle,'dialog/fck_link.html',400,330,FCK.GetNamedCommandState,'CreateLink');
break;
case 'Anchor':B=new FCKDialogCommand('Anchor',FCKLang.DlgAnchorTitle,'dialog/fck_anchor.html',370,170);
break;
case 'BulletedList':B=new FCKDialogCommand('BulletedList',FCKLang.BulletedListProp,'dialog/fck_listprop.html',370,170);
break;
case 'NumberedList':B=new FCKDialogCommand('NumberedList',FCKLang.NumberedListProp,'dialog/fck_listprop.html',370,170);
break;
case 'About':B=new FCKDialogComk;case 'About':B=new FCKDialogCommand('About',FCKLang.About,'dialog/fck_about.html',400,330);
break;
case 'Find':B=new FCKDialogCommand('Find',FCKLang.DlgFindTitle,'dialog/fck_find.html',340,170);
break;
case 'Replace':B=new FCKDialogCommand('Replace',FCKLang.DlgReplaceTitle,'dialog/fck_replace.html',340,200);
break;
case 'Image':B=new FCKDialogCommand('Image',FCKLang.DlgImgTitle,'dialog/fck_image.html',450,400);
break;
case 'Flash':B=new FCKDialogCommand('Flash',FCKLang.DlgFlashTitle,'dialog/fck_flash.html',450,400);
break;
case 'SpecialChar':B=new FCKDialogCommand('SpecialChar',FCKLang.DlgSpecialCharTitle,'dialog/fck_specialchar.html',400,320);
break;
case 'Smiley':B=new FCKDialogCommand('Smiley',FCKLang.DlgSmileyTitle,'dialog/fck_smiley.html',FCKConfig.SmileyWindowWidth,FCKConfig.SmileyWindowHeight);
break;
case 'Table':B=new FCKDialogCommand('Table',FCKLang.DlgTableTitle,'dialog/fck_table.html',400,250);
break;
case 'TableProp':B=new FCKDialogCommand('Table',FCKLang.DlgTableTitle,'dialog/fck_table.html?Parent',400,250);
break;
case 'TableCellProp':B=new FCKDialogCommand('TableCell',FCKLang.DlgCellTitle,'dialog/fck_tablecell.html',500,250);
break;
case 'UniversalKey':B=new FCKDialogCommand('UniversalKey',FCKLang.UniversalKeyboard,'dialog/fck_universalkey.html',415,300);
break;
case 'Style':B=new FCKStyleCommand();
break;
case 'FontName':B=new FCKFontNameCommand();
break;
case 'FontSize':B=new FCKFontSizeCommand();
break;
case 'FontFormat':B=new FCKFormatBlockCommand();
break;
case 'Source':B=new FCKSourceCommand();
break;
case 'Preview':B=new FCKPreviewCommand();
break;
case 'Save':B=new FCKSaveCommand();
break;
case 'NewPage':B=new FCKNewPageCommand();
break;
case 'PageBreak':B=new FCKPageBreakCommand();
break;
case 'TextColor':B=new FCKTextColorCommand('ForeColor');
break;
case 'BGColor':B=new FCKTextColorCommand('BackColor');
break;
case 'PasteText':B=new FCKPastePlainTextCommand();
break;
case 'PasteWord':B=new FCKPasteWordCommand();
break;
case 'TableInsertRow':B=new FCKTableCommand('TableInsertRow');
break;
case 'TableDeleteRows':B=new FCKTableCommand('TableDeleteRows');
break;
case 'TableInsertColumn':B=new FCKTableCommand('TableInsertColumn');
break;
case 'TableDeleteColumns':B=new FCKTableCommand('TableDeleteColumns');
break;
case 'TableInsertCell':B=new FCKTableCommand('TableInsertCell');
break;
case 'TableDeleteCells':B=new FCKTableCommand('TableDeleteCells');
break;
case 'TableMergeCells':B=new FCKTableCommand('TableMergeCells');
break;
case 'TableSplitCell':B=new FCKTableCommand('TableSplitCell');
break;
case 'TableDelete':B=new FCKTableCommand('TableDelete');
break;
case 'Form':B=new FCKDialogCommand('Form',FCKLang.Form,'dialog/fck_form.html',380,230);
break;
case 'Checkbox':B=new FCKDialogCommand('Checkbox',FCKLang.Checkbox,'dialog/fck_checkbox.html',380,230);
break;
case 'Radio':B=new FCKDialogCommand('Radio',FCKLang.RadioButton,'dialog/fck_radiobutton.html',380,230);
break;
case 'TextField':B=new FCKDialogCommand('TextField',FCKLang.TextField,'dialog/fck_textfield.html',380,230);
break;
case 'Textarea':B=new FCKDialogCommand('Textarea',FCKLang.Textarea,'dialog/fck_textarea.html',380,230);
break;
case 'HiddenField':B=new FCKDialogCommand('HiddenField',FCKLang.HiddenField,'dialog/fck_hiddenfield.html',380,230);
break;
case 'Button':B=new FCKDialogCommand('Button',FCKLang.Button,'dialog/fck_button.html',380,230);
break;
case 'Select':B=new FCKDialogCommand('Select',FCKLang.SelectionField,'dialog/fck_select.html',400,380);
break;
case 'ImageButton':B=new FCKDialogCommand('ImageButton',FCKLang.ImageButton,'dialog/fck_image.html?ImageButton',450,400);
break;
case 'SpellCheck':B=new FCKSpellCheckCommand();
break;
case 'Undo':B=new FCKUndoCommand();
break;
case 'Redo':B=new FCKRedoCommand();
break;
case 'Undefined':B=new FCKUndefinedCommand();
break;
default:if (FCKRegexLib.NamedCommands.test(A)) B=new FCKNamedCommand(A);
else
{
alert(FCKLang.UnknownCommand.replace(/%1/g,A));
return null;
};
};
FCKCommands.LoadedCommands[A]=B;return B;
};
FCKCommands.GetFullPageState=function()
{
return FCKConfig.FullPage?FCK_TRISTATE_OFF:FCK_TRISTATE_DISABLED;
};
What could it be and how can I fix it?
Any help is greatly appreciated.