Create a Website and Make It Profitable

Use Site Build It! to get up and running with your own website, no technical knowledge required, and get ready to cash in on a slice of the giant online advertising industry. Check out Site Build It! to get started.

StreamSend Email Marketing - 30 Days Free

StreamSend is Email Marketing by Marketers, for Marketers. They offer a very friendly and easy to use interface, private IP address, trigger-based messaging, demographic reporting, integration with Google Analytics, and more. Click here to get 30 free days and give them a try.



Nov 11 2008

Unknown toolbar item "UniversalKey"


Filed under: Content Management Systems » Drupal, Software » FCKEditor,
Tools:

Are you seeing this annoying "Universal Key" Drupal error repeatedly?

Are you seeing the error message unknown toolbar item "UniversalKey" popup in a Drupal environment when you load up an FCKeditor window? This is a result of an update to the native FCKeditor software that caused the removal of the "UniversalKey" button. The "UniversalKey" button was one that loaded a Universal Keyboard that allowed the use of different keyboard layouts based on language and country of origin. Unfortunately, FCKeditor did not have a license to use the Universal Keyboard, so they had to remove it in the update to FCKeditor 2.4. Future releases no longer use the Universal Keyboard button. The Drupal FCKeditor module, however, did not catch up (ie. did not have the Universal Keyboard removed from it's "DrupalFull" toolbar set, and therefore, when it tries to load the Universal Keyboard button that is not there, the unknown toolbar item "Universal Key" error gets thrown). The most current version of the Drupal FCKeditor module fixes the problem.

How to fix this error with FCKeditor?

The simplest way to resolve this error is to update your FCKeditor Drupal module. If you don't wish to do this, you can edit the toolbar set in Drupal's FCKeditor module directly. To do this, simply edit the fckeditor.config.js file in your FCKeditor module directory. You'll see an entry that looks like the following:

FCKConfig.ToolbarSets["DrupalFull"] = [...
...
['Image','Flash','Table','Rule','SpecialChar','PageBreak','UniversalKey'],

...

Simply remove the UniversalKey button so the line looks like this:

['Image','Flash','Table','Rule','SpecialChar','PageBreak'],

and the error will stop being thrown.

Where can I get back the Universal Keyboard?

For those that are really attached to the universal keyboard, there is a way to obtain it, just not officially from FCKeditor. It's in the list of FCKeditor plugins. You may access the plugin directly via its SourceForge page.

Average: 5 (3 votes)
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • Textual smileys will be replaced with graphical ones.

More information about formatting options

CAPTCHA
This question is used to make sure you are a human visitor and to prevent spam submissions.