Closed (fixed)
Project:
Htmlarea
Version:
5.x-2.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Apr 2007 at 17:04 UTC
Updated:
25 Nov 2007 at 03:11 UTC
Jump to comment: Most recent file
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
| Comment | File | Size | Author |
|---|---|---|---|
| #12 | fix_plugins.patch | 1.17 KB | ksenzee |
Comments
Comment #1
deadman commentedI'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.
Comment #2
mhkc commentedSame here. No errors, just no joy on the plugins. Is this an HTMLarea problem, or an XINHA problem?
Comment #3
hanskuiters commentedA 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?
Comment #4
yakamoto commentedI'm having the same issue on Drupal 5.1
Comment #5
zigzog commentedi'm facing the same probelm, but it might be unsynch with the new xinha release ?
Comment #6
simeAh. wish I'd looked here first. Me too.
Comment #7
simeSo far, I've established that the plugin js is being called ok.
Comment #8
simeI'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.
Comment #9
2c commentedI 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.
Comment #10
simeI 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.
Comment #11
abacab commentedI do have the same problem.
I use Drupal 5.2 with HtmlArea 5.x-2.0 and Xinha 0.931.
Comment #12
ksenzeeI 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.
Comment #13
gordon commentedThanks this has now been fixed in 2.1
Comment #14
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.