It sure would be swell if this module had the ability to overwrite a previously uploaded file instead of making a duplicate.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

benkant’s picture

Status: Active » Needs review
FileSize
1.94 KB

I agree. Here's a patch, rolled from 6.x-1.4

It adds a global "replace" setting. Just go to admin/settings/filefield_paths.

ac’s picture

Status: Needs review » Reviewed & tested by the community

Works as described. Please commit as I would also like this.

jaydub’s picture

Status: Reviewed & tested by the community » Needs work

You 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.

jaydub’s picture

Version: 6.x-1.4 » 6.x-1.x-dev
Status: Needs work » Needs review
FileSize
2.16 KB

I went ahead and re-rolled against current CVS to address the -pX setting for patch.

crea’s picture

Subs

Deciphered’s picture

Issue summary: View changes
Status: Needs review » Closed (won't fix)

No longer supporting Drupal 6 issues for this module.