Posted by xMATTx on July 6, 2010 at 12:01pm
DownloadFile is a module to direct download files or images.
Features
- Added four formatters
- Usable in templates and views
- Accessible formatters
Warning! Do not use the dev release that have been corrupted during the Git migration.
Drupal 6
Dependency
Installation
- Copy the download_file folder to the modules folder in your installation.
- Enable the module using Administer -> Site building -> Modules (/admin/build/modules).
- Configure user permissions in Administer -> User management -> Permissions -> download_file module and "access direct download file".
- Manage teaser and full node display settings at Administer -> Content -> Content types -> "your type" -> Manage fields (/admin/content/node-type/"your type"/fields) and click on the Display fields tab (/admin/content/node-type/"your type"/display).
- Choose a formatter to apply to files or images in that field. Four new formatters "Direct download file" appear in the select list.
- Configure the format of the link accessible at Administer -> Site configuration -> Download file (/admin/settings/download-file).
Using with Views module
Similarly, you can use a formatter when displaying files or images attached to nodes using FileField or ImageField in a View through the Views UI.
- Manage display at Administer -> Site building -> Views (/admin/build/views) and add a new view by clicking the "Add new view" tab (/admin/build/views/add) or edit an existing view by clicking the "Edit" link (/admin/build/views/edit/"your view").
- Click on a file field or image field.
- Choose a formatter in select list "Format" to apply at this field. Four new formatters "Direct download file" appear.
- Click on "Save" button and see the display in the preview.
Drupal 7
Dependency
- DownloadFile 7.x depends on the File core module.
Installation
- Copy the download_file folder to the modules folder in your installation.
- Enable the module using Administration -> Modules (/admin/modules).
- Configure user permissions in Administration -> People, click on the Permissions tab (admin/people/permissions), go to DownloadFile module part and "Access direct download file".
- Manage teaser and full node display settings at Administration -> Structure -> Content types -> "your type" -> manage display (admin/structure/types/manage/"your type"/display).
- Choose a formatter to apply to files or images in that field. Four new formatters "Direct download file" appear in the select list.
- Configure the format of the link accessible at Administration -> Configuration -> Media -> Download file (/admin/config/media/download-file).
Using with Views module
Similarly, you can use a formatter when displaying files or images attached to nodes using File or Image in a View through the Views UI.
- Manage display at Administration -> Structure -> Views (/admin/structure/views) and add a new view by clicking the "Add new view" link (/admin/structure/views/add) or edit an existing view by clicking the "Edit" link (/admin/structure/views/edit/"your view").
- Click on a file field or image field.
- Choose a formatter in select list "Format" to apply at this field. Four new formatters "Direct download file" appear.
- Click on "Save" button and see the display in the preview.
Credits
The current maintainer is Matthieu Moratille (xMATTx).
This project has been sponsored by Core-Techs.
Downloads
Project Information
- Maintenance status: Minimally maintained
- Development status: Under active development
- Module categories: Content Construction Kit (CCK), Content Display, Media, Views
- Reported installs: 3831 sites currently report using this module. View usage statistics.
- Downloads: 13,683
- Last modified: May 11, 2012
