Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Usage Milestone: Google Analytics Module google_analytics crossed 1,000 active installs. Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Release: GraphQL Compose Codegen 1.1.2 Minor update available for module graphql_compose_codegen (1.1.2). Release: Mapy.com 1.1.3 Minor update available for module mapycom (1.1.3). Release: Ckeditor5 entity browser 3.0.3 Minor update available for module ckeditor5_entity_browser (3.0.3). Release: Ckeditor5 entity browser 3.0.1 Minor update available for module ckeditor5_entity_browser (3.0.1). Release: Ckeditor5 entity browser 3.0.2 Minor update available for module ckeditor5_entity_browser (3.0.2). Release: Teamleader Integration 4.0.2 Minor update available for module teamleader (4.0.2). Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

This module lets you set default files for different file types in your file fields. When a user adds a file, they can choose from a list of predefined "types" (like "Text" or "Spreadsheet"), and a default template file will be automatically attached for them to start with.

The File Defaults by Type module enhances file field management by allowing administrators to define multiple "types", identified by a label and with a default file assigned.

This module is especially useful when used together with collaborative tools such as Collabora Online. Default "template" files can be defined for each type (e.g "Text", "Spreadsheet") and used as starting point for collaborative editing.

Features

  • Type definition: for each file field, allows to define a series of "types", identified with a label. Each type requires a default file to be attached.
  • Default file widget: presents the user with a dropdown containing the types defined for that field instance. The user can choose one of them and attach it to the field.
  • UI module: file_defaults_by_type_ui enhances the configuration experience through a page where users can set or replace files.

Upcoming development / ideas

  • Add a new widget or modify the default file one so that a user can upload a custom fil, in addition to choosing one of the defaults provided.
  • Allow to rename the default file being attached.

Supporting this Module

European Commission and European Union Institutions, Agencies and Bodies

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
5
Tracked since
Oct 2024
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 5
Maintenance
Dormant

Release Timeline

Releases

Version Type Core Release date
1.0.0-alpha4 Pre-release 10–11 May 23, 2025
1.0.0-alpha3 Pre-release 10 Nov 22, 2024
1.x-dev Dev 10–11 Oct 24, 2024
1.0.0-alpha2 Pre-release 10 Oct 24, 2024
1.0.0-alpha1 Pre-release 10 Oct 9, 2024