Closed (fixed)
Project:
Web File Manager
Version:
6.x-2.12
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
14 Apr 2010 at 13:08 UTC
Updated:
15 Apr 2010 at 17:36 UTC
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
Comment #1
cgmonroe commentedThis 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.
Comment #2
ChristianP commentedAlright! 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?
Comment #3
cgmonroe commentedSee:
http://drupal.org/node/412558#comment-2800270
Comment #4
nhck commented