Can can't get any of the plug-ins working. I can see them in the Drupal setup but they don't seem to load. Obviously I must have missed something as I see no one else here with this issue.

Yani

CommentFileSizeAuthor
#12 fix_plugins.patch1.17 KBksenzee

Comments

deadman’s picture

I'm also having this problem. I can check/uncheck the plugin boxes in the admin panel but this has no effect on the htmlarea/xinha app when it loads.

mhkc’s picture

Same here. No errors, just no joy on the plugins. Is this an HTMLarea problem, or an XINHA problem?

hanskuiters’s picture

A default install of htmlarea has only two plugins in the plugins-folder: 'UploadDocuments' and 'UploadImage'. Has that something to do with it? Where to get more plugins? Is it a Xinha problem/issue?

yakamoto’s picture

I'm having the same issue on Drupal 5.1

zigzog’s picture

i'm facing the same probelm, but it might be unsynch with the new xinha release ?

sime’s picture

Ah. wish I'd looked here first. Me too.

sime’s picture

So far, I've established that the plugin js is being called ok.

sime’s picture

I've concluded this is a bug in the lastest xinha where it doesn't loop the plugin list properly (for loop on an object). I've decided to wait a while and tried the next release.

2c’s picture

I don't think it's a Xinha issue, as there are no reported problems on their site. Also notice that the relavant plugin .js files are included at the bottom of the Drupal page if you view the source.

Also, if you look at htmlarea.module you'll see that on line 243 and 248 it registers the uploadimage plugin and the uploaddocument plugin but doesn't register anything else.

sime’s picture

I tried to debug this for a few house and agree that it's not a Xinha bug. I couldn't identify the source of the problem meaningfully, but it did appear to be the plugin array that is passed in the config.

abacab’s picture

Version: 5.x-2.0-beta3 » 5.x-2.0
Category: support » bug

I do have the same problem.

I use Drupal 5.2 with HtmlArea 5.x-2.0 and Xinha 0.931.

ksenzee’s picture

Status: Active » Needs review
StatusFileSize
new1.17 KB

I think I ran it down. Turns out Xinha expects to get a simple array of plugin names, but htmlarea.module is instead passing its entire internal $plugins variable as a JS object. The attached patch fixes the problem for me. Let me know if it works for anyone else.

gordon’s picture

Status: Needs review » Fixed

Thanks this has now been fixed in 2.1

Anonymous’s picture

Status: Fixed » Closed (fixed)

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