Hi, I would like to make the upload fieldset that's underneath the Web file manager to always be expanded, not as it is now with jquery expand effect. I've searched through the code and have understood that the fieldset is created by a variable called $upload, and it's supposed to be found in the theme.inc(?) but I can't find the fieldset. I thought I could just go find it and remove the class name "collapsible" from it so it doesn't get affected by the jquery core. How can I solve this? Excellent module by the way!

Comments

cgmonroe’s picture

This is a standard Drupal form named "webfm_uploads" created by the webfm_upload_fieldset function. The quick and dirty hack would be to change the '#collapsed' property to FALSE in the webfm module...

The correct way to do it would be to use form_alter in your theme or module and modify the form that way.

ChristianP’s picture

Alright! Fixed it now! Thank you. Now I've got another question...

I have checked the "open files in new browser" box, but I tried open a PDF just a minute ago, and it just replaces the browser windows, what can be wrong? : /

Or oh.. Is that only for when appending something to a node? Not from the WebFM archives?

cgmonroe’s picture

nhck’s picture

Category: task » support
Status: Active » Closed (fixed)