It sure would be swell if this module had the ability to overwrite a previously uploaded file instead of making a duplicate.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | filefield_paths.module.873842.patch | 2.16 KB | jaydub |
| #1 | filefield_paths_overwrite.patch | 1.94 KB | benkant |
Comments
Comment #1
benkant commentedI agree. Here's a patch, rolled from 6.x-1.4
It adds a global "replace" setting. Just go to admin/settings/filefield_paths.
Comment #2
acWorks as described. Please commit as I would also like this.
Comment #3
jaydub commentedYou might want to re-roll the patch to remove the 1st part of the path so that it can be applied with patch -p0. otherwise someone (like me) who attempts to apply the patch will not succeed. This is especially true for those that attempt to pull in patches to Drush Make makefiles.
Comment #4
jaydub commentedI went ahead and re-rolled against current CVS to address the -pX setting for patch.
Comment #5
crea commentedSubs
Comment #6
decipheredNo longer supporting Drupal 6 issues for this module.