Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Attached a patch against 4.5.1 to count and display the number f file downloads. I had to add an extra field to the files table in the database before the list column.
`downloads` int(10) unsigned NOT NULL default '0',
It'd be nice If yu can add an index too, As it can be used to select the max. downloaded files and display them in a block or so.
Comment | File | Size | Author |
---|---|---|---|
upload.module_0.diff | 2.58 KB | msameer | |
Comments
Comment #1
killes@www.drop.org CreditAttribution: killes@www.drop.org commentedThe upload module that comes with Drupal is intentionally very "bare bones".