attached patch on the 5.x HEAD adds a weight attribute to the attachments to let you rearrange the order in which attachments are displayed on the page. Also included in the patch is functionality to drag and drop to rearrange the order of attachments on the node edit form. This requires the jquery_interface module to be present which if absent will degrade to normal non javascript functionality.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | attachment-weights.diff | 5.2 KB | imclean |
| attachment-weights.patch | 7.31 KB | panis |
Issue fork attachment-189156
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #1
cscsteve commentedLooks good to me. Committed to HEAD.
Comment #2
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #3
imclean commentedThis sounds like a great feature, unfortunately it isn't included in the current version. Also the patch adoesn't seem to work against the current HEAD. Is this likely to be part of future versions and/or would it be possible to get a patch for the current one?
Edit: here's my diff against the attachment.module file only of the 9 Sept 2007 release.
Comment #4
jbergeron commentedThis would be a great feature to implement, could be useful on a daily basis.