You are here

README.txt in Upload File Replace (for filefield CCK) 6

Same filename and directory in other branches
  1. 7 README.txt
  2. 1.0.x README.txt
################################################################################
HISTORY
################################################################################
The Upload Replace grew out of a need of mine to have bookmarkable files on a
website I was running.  The default behavior of filefield CCK is to rename new
files to <filename>_0.<ext> if that file name is in use.

In my case I needed the newest version of the file to be called <filename>.<ext>
so that my users can bookmark the file and always get the most recent version
when they use their bookmarks.

As well, this needed to work with node revisions so if a incorrect file was
uploaded an administrator could revert to the correct version and the filename
would be updated.

################################################################################
USAGE
################################################################################
filefield CCK is required for this module( http://drupal.org/project/filefield )
Drupal's upload module is NOT compatible with upload_replace.

1.Enable the upload_replace module on the modules page.
2.Your done

There currently are not any options for this module, just turn it on and it
should work.  It uses the HOOK_file_update to do it's magic.

################################################################################
ISSUES
################################################################################
There may be issues with some modules that cache files or thumbnails. If you
find a module that has cache problems after uploading a newer version of a file
please post an issue.

Please use the project issue tracker to report problems
http://drupal.org/project/issues/upload_replace

Project page is here:
http://drupal.org/project/upload_replace

################################################################################
AUTHOR
################################################################################
Original author is
USERNAME:markDrupal
FULLNAME:Mark Crandell
EMAIL:markc09@gmail.com

File

README.txt
View source
  1. ################################################################################
  2. HISTORY
  3. ################################################################################
  4. The Upload Replace grew out of a need of mine to have bookmarkable files on a
  5. website I was running. The default behavior of filefield CCK is to rename new
  6. files to _0. if that file name is in use.
  7. In my case I needed the newest version of the file to be called .
  8. so that my users can bookmark the file and always get the most recent version
  9. when they use their bookmarks.
  10. As well, this needed to work with node revisions so if a incorrect file was
  11. uploaded an administrator could revert to the correct version and the filename
  12. would be updated.
  13. ################################################################################
  14. USAGE
  15. ################################################################################
  16. filefield CCK is required for this module( http://drupal.org/project/filefield )
  17. Drupal's upload module is NOT compatible with upload_replace.
  18. 1.Enable the upload_replace module on the modules page.
  19. 2.Your done
  20. There currently are not any options for this module, just turn it on and it
  21. should work. It uses the HOOK_file_update to do it's magic.
  22. ################################################################################
  23. ISSUES
  24. ################################################################################
  25. There may be issues with some modules that cache files or thumbnails. If you
  26. find a module that has cache problems after uploading a newer version of a file
  27. please post an issue.
  28. Please use the project issue tracker to report problems
  29. http://drupal.org/project/issues/upload_replace
  30. Project page is here:
  31. http://drupal.org/project/upload_replace
  32. ################################################################################
  33. AUTHOR
  34. ################################################################################
  35. Original author is
  36. USERNAME:markDrupal
  37. FULLNAME:Mark Crandell
  38. EMAIL:markc09@gmail.com