Hi

I'm using Drupal 6.4, YUI at path: http://yui.yahooapis.com/2.5.1, latest YUI and YUI editor plugins for Drupal 6, and the Garland theme (unmodified).

Whatever I do, plugins (like file upload, flickr image, etc...) are not displayed in the editor, and those settings seem completely ignored. Firefox reports no errors. The basic editor works. I have only one editor profile.

Any hint?

Thanks a lot, this looks great. If plugins worked, it'd be perfect :)
Palantir

Comments

palantir’s picture

Category: support » bug

OK, I have some more feedback. JS files are correctly included, the problem is that here:

(example from plugins/img_upload.js)

if (config.img_upload == 1) {
yui_img_uploader(myEditor, '?q=/yui_editor/image_upload', 'files[upload]', config.base_path);
}

the variable config.img_upload is undefined. Same in the flickr plugin, where is a similar check just at the beginning of the file. Changing this temporarily to if (config.img_upload == 1 || true) makes the plugin appear, so there must be some kind of problem in the config part...

This is in Firefox 3.0.3

jeffcd’s picture

Status: Active » Fixed

This should be fixed with the 6.2.2 version that I released about 5 minutes ago.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

fellow’s picture

I use YUI 6.x-1.1-beta3 and YUI editor 6.x-2.31 . No plugins displayed.

jslag’s picture