IMCE file browser pop-up missing operators add/insert

goose2000 - March 24, 2009 - 15:33
Project:IMCE
Version:5.x-1.2
Component:User interface
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

I'm using Drupal 5.16. Not using any WYSIWYG editor, just IMCE. I added 'edit-body' in the IMCE setting to enable in-line insertion of images. It worked fine; shows 'Insert image or link.' I click insert image an file browser shows. I can upload stuff no problem. I can delete no problem.

I ca not select or insert anything into the target body, there are no links/controls for this; see attachment.

AttachmentSize
imce_is1.png7.16 KB

#1

goose2000 - March 24, 2009 - 16:07

I also have noticed this javascript error in fire bug:

$("#bodytable").get(0) has no properties

[Break on this error] var list = $('#bodytable').get(0).rows;

imce_browse.js (line 54)

In addition to this, the delete confirmation alert does not appear when you delete something, just does it.

#2

goose2000 - March 24, 2009 - 19:14
Priority:critical» normal

Ok, setting this to 'normal' status, as I made a little progress and think this has something to do with themes or will turn out to be a site specific issue.

Some notes:

1. javascript breaks because it can not find any element with 'bodytable' in my troubled file browser
2. the id 'bodytable' does not exist in the imce.css file; there is no definition for it. Which probably doesn't matter.
3. 'bodytable' is generated from the .module file instead, on abouts line 204.
theme('table', array(), $rows, array('id'=>'bodytable')).'

For some reason in my site, the file browser window does not have this id attached to
the table that displays the files and images....

Hmmm, getting warmer...

#3

virgo - April 20, 2009 - 06:45

Missing it too :) any help ?

#4

rohandavies@lef... - May 14, 2009 - 18:02

I have exactly the same problem. I can insert an image by right-clicking on the upload image, copying the image location, and then pasting the location into the url field (I have to close the file browser window first). But this isn't very user friendly.

Any progress for anyone else with this issue?

#5

brianV - May 26, 2009 - 20:10
Priority:normal» critical

Also experiencing it here.

I am upgrading this to critical, since IMCE is near useless for inline images without this.

#6

xeladrane - May 29, 2009 - 13:17

I have the same issue. Running Drupal 5.18 and using Wysiwyg and IMCE API bridge, with the tinymce editor.
Also getting two "page not found" errors in my log which may be related, for sites/all/modules/imce/js/imce.js and sites/all/modules/imce/js/imce_set_app.js, neither of which are actually present in the download archive imce-5.x-1.2.tar.gz (or any other 5.x version) so clearly would not be found.

Using FCKEditor this issue does not seem to occur.

#7

ufku - May 29, 2009 - 20:54
Category:bug report» support request
Priority:critical» normal

wysiwyg api users, please post your issues to issue queue of imce_wysiwyg module
Others, please stick to the initial post. If yours is different, open another one.

#8

brianV - June 1, 2009 - 21:18
Category:support request» bug report

ufku,

This bug lies within IMCE, not the bridge. It is affecting users whether or not the are using the bridge module. Therefore, this is where they should be posting.

Secondly, unless you are suggesting this is a misconfiguration, this is a bug and not a support request.

#9

ufku - June 1, 2009 - 22:40

brianV, this is reported for 5.x-1.2 which is not possible to use with imce_wysiwyg because it does not support IMCE 5.x. That's why wysiwyg 5.x users won't see add/insert operators and should first request a proper support from imce_wysiwyg project. There can't be a bug report for a non existing functionality.

Other users having the issue, please provide more information.

On the other hand, to mark an issue as a bug report one should provide all steps to reproduce the bug. Please do so and let the category stay as a bug report.

#10

brianV - June 2, 2009 - 01:22

ufku,

First off, imce_wysiwyg 5.x uses IMCE 5.x. Now, I know it's still a dev release, but that brings me to my second point.

Secondly, the original poster has the same issue without using any WYSIWYG editor. That indicates to me it's not tied to the wysiwyg editor or the imce_wysiwyg module. That eliminates that variable.

#11

ufku - June 2, 2009 - 09:41

Sorry for not being clear enough. I'm not saying the issue is about wysiwyg API.
I'm saying that if you use wysiwyg API and have this issue it's just expected because imce_wysiwyg did not have a proper support for 5.x. Good news is there has been a fix attempt for it recently. http://drupal.org/project/cvs/380298

If you are a wysiwyg user and have this issue, please make sure you have the version that works with IMCE before posting here.

#12

xeladrane - June 2, 2009 - 16:47

Thanks for the clarification on wysiwyg, I didn't want to cloud the issue!
So you're saying basically if we're on 5.x we should look for fixes in the imce_wysiwyg bridge module. I can confirm I was using 1.4.2.1 of that, which was apparently fixed on 31st May with 1.4.2.2. So I'll try that and drop out of this!

 
 

Drupal is a registered trademark of Dries Buytaert.