Misc patches (Unzip, AttachDir, User Directories)
| Project: | Web File Manager |
| Version: | 6.x-2.11 |
| Component: | Miscellaneous |
| Category: | feature request |
| Priority: | normal |
| Assigned: | ae860300 |
| Status: | needs review |
This patch includes (hopefully) all of Frank Steiner's excellent patches to WebFM. Please note that none of the alterations In addition I have mad eare ready for primetime, this should just be a source of inspiraion. I have altered the follwoing:
New features:
1. Attach all files in directory. Menu option for a file to attach all files in current dir to node.
2. Unzip ZIP-Archive menu item
3. Support for User directories using tokens
Changes:
- Frank Steiner's patches applied
- Some premission changes to allow non-admin usres to cerate (and remove) directories
Issues:
1. Attach all files in directory messes up order of files (no control which upload is completed first) hence a ugly hack in the 'update' call to sort files by filename (I use it for images, so this makes sense to me)
2. Just ugly code for unzip really
3. I suggest simply the token [user] for user directories.
Missing:
- I have also hardcoded Imagecache Preview for Image Files (instead of the gif icon). But since this is hardcoded (can not get the correct pathnames otherwise somehow) I left it out here. Happy if someone can help...
Patch applies to 6.x-2.9-alpha2 (not tested on HEAD)
| Attachment | Size |
|---|---|
| webfm-6.x-2.9-alpha2.misc_.patch | 41.06 KB |

#1
Use webfm module, then want to change to upload zip files automatically extract and then saw the module site has patches to achieve results.
However, post-implementation is still not automatically Solutions ~
Who can help me would like to ask ~ ~ pointing ~ ~
And the implementation of the patch did not feel the code to the specified code in the ~ ~
2. Unzip ZIP-Archive menu item
#2
help~
how auto upload zip can unzip~
no menu item unzip