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.
By Mojtaba Reyhani on
I created a generic file field for custom content type and I simply want to count the number of times have been downloaded this file and display this count number in node template?
Thanks for any help.
Comments
There are some pre-made file
There are some pre-made file counters out there:
https://www.drupal.org/project/file_download_count
https://www.drupal.org/project/download_count
https://www.drupal.org/project/ajax_dlcount
Thank you so much for your
Thank you so much for your help and attention, But seem none of them work in drupal 8.
Re: how can create a File download counter?
For anyone who is interested in same functionality, please refer this URL.
Thank you so much, for your reply.
Thank you so much, for your reply.
but that answer not completely and not describe enough.