Page 1 of 1

FCKeditor (toolbar) not showing up

Posted: Fri Sep 08, 2006 5:54 pm
by 10010110
Hi there,

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;
};
I thought it might be an upload error (missing or truncated file) and uploaded the entire FCKeditor directory again but no avail.
What could it be and how can I fix it?
Any help is greatly appreciated.

Re: FCKeditor (toolbar) not showing up

Posted: Sun Sep 10, 2006 5:01 pm
by 10010110
Hey, sorry to bump this but can someone please tell me why the FCKeditor toolbar isn't shownig up? This is important for me as my boss is asking to get it running ASAP.  :-\

Re: FCKeditor (toolbar) not showing up

Posted: Sun Sep 10, 2006 5:56 pm
by chrisl
It may be the answer to your problem can be found here:

http://forum.cmsmadesimple.org/index.ph ... 265.0.html

Re: FCKeditor (toolbar) not showing up

Posted: Sun Sep 10, 2006 7:12 pm
by 10010110
Yeah, I've searched for possible answers before posting this question and didn't find anything that could help me at first. Strangely now that I've read it again I thought I might try to "enable" FCKeditor in the prefs. I thought it was enabled already because it showed up in the select box in the first place... seems like "confirming" it it fixed it. YAY! :)

Thanks a lot.

Re: FCKeditor (toolbar) not showing up

Posted: Thu Jul 16, 2009 10:27 am
by jk
For anyone else struggling with this  - I tried everything on the posts with no joy.  All I had to do was increase the width in the Extensions/FCKeditorX.  I increased the width from default to 500px and it suddenly worked.  It works best for me at a width of 700px.

Re: FCKeditor (toolbar) not showing up

Posted: Wed Jul 22, 2009 9:10 pm
by Dr.CSS
Please don't drag up these old post, just start a new one, and FCKEditor is no longer supported...