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