I was looking for a solution to format the teaser/summary and found a thread stating 7.x-2.x-dev enabled that. So, I removed WYSIWYG and replaced it with the dev version (turned linked modules off, removed old module, installed dev through install feature and reenabled linked modules). I was happy as a clam to have formatting in the teaser/summary, but then I noticed the sorting feature in IMCE is no longer working. And since IMCE has a horrible way it arranges everything, finding files is very difficult.

Two questions:
1. Anyone else experienced this with the dev and, if so, any solutions or ideas to try to get sorting back? - BTW, I did swap back to 7,x-1.9, but the issue remained.

2. Are there any good alternatives where I might get equal capabilities? I've been trying Media with plupload, but it's nowhere near as feature rich as IMCE.

Thanks

Comments

TwoD’s picture

Project: Wysiwyg » IMCE
Version: 7.x-2.x-dev » 7.x-1.x-dev
Component: Plugins » Code

IMCE runs as a completely separate thing from the editors and Wysiwyg. IMCE Wysiwyg bridge is basically only making the editors aware of which URL to load. Nothing should changed inside IMCE itself when you install/remove/upgrade Wysiwyg.

I personally haven't used IMCE in a while, so I don't know if they have changed anything, but I'll move this issue there so they can have a look.

dweade’s picture

Thanks, TwoD. Would it help if I uploaded the page source from my IMCE file browser?

Also, I was looking through the code and I do have many links to resources on my site to make it run. Would I face a security risk if I posted the entire code or would I be better off deleting some of those lines (and would that make the share meaningless)?

theMusician’s picture

Version: 7.x-1.x-dev » 7.x-1.9

I am experiencing this issue as well with IMCE 1.9 and jQuery 1.7.

When a user clicks the browse server button the window and file list loads but none of the columns can be sorted. The page throws a handy JS error:

ReferenceError: imce is not defined   
imce.hooks.load.push(imce.initiateShortcuts); //shortcuts for directories and files

This gem is in the imce_extras.js file.

I have cleared the caches, made sure permissions were correct, and cannot find anything that would be causing the js to error. It does seem like it is properly wrapped in a jQuery enclosure, but for some reason it has begun throwing this error.

uzuri’s picture

Just chiming in to say that I'm seeing this as well -- and with a huge site with many different editors... yeah, let's just say it's not pretty. Can't sort by anything, and that's definitely the same javascript error I'm seeing. Not sure what version of jQuery I'm using, might be 1.8.

theMusician’s picture

uzuri,

For us, it was caused by the IMCE javascript loading to late. We try to load all of our JS in the footer except for a few oddballs. If you use something like Firebug or Chrome's inspector tool and refresh the page after the IMCE popup appears you'll see a javscript file that cannot load.

We, WWU, load the following in the head.

'misc/drupal.js'
'imce.js'
'jquery.js'

That keeps the IMCE which is loading a new page, without a footer, from balking and not allowing sort.

ufku’s picture

Status: Active » Closed (cannot reproduce)

Tested with JQuery 1.5, 1.7, and 1.8: unable to reproduce the issue.

uzuri’s picture

theMusician, interesting; I'll look into that for sure. IMCE loads very slowly for us, so it wouldn't surprise me if something isn't loading in time and that's killing us. I think we have too many files right in that default directory and it makes it a little unhappy.