I have installed FCKeditor in a Drupal 5.x site, and it seems to be working...EXCEPT that only one of the toolbar items (Source) displays an icon/text button correctly. Basically, there's a toolbar with blank buttons that *work* after you locate the desired tool via the mouseover borders and alt text.
I thought I would be able to edit the settings in fcktoolbaritems.js using the 'style' parameter. Logically enough, the Source button is the only button that shows up and its style is FCK_TOOLBARITEM_ICONTEXT while the rest of the toolbar items are 'null.' But editing fcktoolbaritems.js doesn't update the toolbar appearance. Can someone point me to other settings that needs to be changed at the same time or something else I'm overlooking in the editing?
Example from fcktoolbaritems.js switch statement:
Working icon/text: case 'Source' : oItem = new FCKToolbarButton( 'Source' , FCKLang.Source, null, FCK_TOOLBARITEM_ICONTEXT, true, false, 1 ) ; break ;
Missing icons:
case 'Bold' : oItem = new FCKToolbarButton( 'Bold' , FCKLang.Bold, null, null, false, true, 20 ) ; break ;
case 'Italic' : oItem = new FCKToolbarButton( 'Italic' , FCKLang.Italic, null, null, false, true, 21 ) ; break ;
Also, the optional plugin buttons are fine -- I can change their toolbar appearance with the style constants, just as I expected. I found a similar post in which the person just redefined the buttons with proper styles in an unrelated plugin file, but that was a workaround for one button. I don't want to do that for the whole toolbar.
Suggestions?
Thanks!
Megan
I thought I would be able to edit the settings in fcktoolbaritems.js using the 'style' parameter. Logically enough, the Source button is the only button that shows up and its style is FCK_TOOLBARITEM_ICONTEXT while the rest of the toolbar items are 'null.' But editing fcktoolbaritems.js doesn't update the toolbar appearance. Can someone point me to other settings that needs to be changed at the same time or something else I'm overlooking in the editing?
Example from fcktoolbaritems.js switch statement:
Working icon/text: case 'Source' : oItem = new FCKToolbarButton( 'Source' , FCKLang.Source, null, FCK_TOOLBARITEM_ICONTEXT, true, false, 1 ) ; break ;
Missing icons:
case 'Bold' : oItem = new FCKToolbarButton( 'Bold' , FCKLang.Bold, null, null, false, true, 20 ) ; break ;
case 'Italic' : oItem = new FCKToolbarButton( 'Italic' , FCKLang.Italic, null, null, false, true, 21 ) ; break ;
Also, the optional plugin buttons are fine -- I can change their toolbar appearance with the style constants, just as I expected. I found a similar post in which the person just redefined the buttons with proper styles in an unrelated plugin file, but that was a workaround for one button. I don't want to do that for the whole toolbar.
Suggestions?
Thanks!
Megan