Drupal is a registered trademark of Dries Buytaert
Release: Drupal 10.3.6 Update released for Drupal core (10.3.6)! Release: Drupal 11.0.5 Update released for Drupal core (11.0.5)! Release: Drupal 10.2.9 Update released for Drupal core (10.2.9)! Release: Drupal 10.2.10 Update released for Drupal core (10.2.10)! Release: Drupal 10.3.7 Update released for Drupal core (10.3.7)! Release: Drupal 11.0.6 Update released for Drupal core (11.0.6)! Release: Drupal 10.3.8 Update released for Drupal core (10.3.8)! Release: Drupal 11.0.7 Update released for Drupal core (11.0.7)! Module Revived: Translation Management Tool 8.x-1.19 Module tmgmt updated after 7 months of inactivity (8.x-1.19). Usage Milestone: Account field split Module account_field_split crossed 10,000 active installs.

DownloadFile is a module to direct download files or images.

Features

  • Added four formatters
  • Usable in templates and views
  • Accessible formatters

Drupal 10

This module requires no modules outside of Drupal core.
Install as you would normally install a contributed Drupal module.
For configuration, select the 'Direct Download' format for your file fields.

Drupal 7

Dependency

  • DownloadFile 7.x depends on the File core module.

Installation

  1. Copy the download_file folder to the modules folder in your installation.
  2. Enable the module using Administration -> Modules (/admin/modules).
  3. Configure user permissions in Administration -> People, click on the Permissions tab (admin/people/permissions), go to DownloadFile module part and "Access direct download file".
  4. Manage teaser and full node display settings at Administration -> Structure -> Content types -> "your type" -> manage display (admin/structure/types/manage/"your type"/display).
  5. Choose a formatter to apply to files or images in that field. Four new formatters "Direct download file" appear in the select list.
  6. 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.

  1. 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").
  2. Click on a file field or image field.
  3. Choose a formatter in select list "Format" to apply at this field. Four new formatters "Direct download file" appear.
  4. Click on "Save" button and see the display in the preview.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Sep 2024
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 1
Maintenance
Dormant

Releases

Version Type Core Release date
2.0.0 Stable Sep 27, 2024