Skip to content
This repository has been archived by the owner on Nov 20, 2024. It is now read-only.

Quick Start

Jeremy edited this page Jun 23, 2021 · 1 revision

Installation

A composer based install is recommended to ensure all dependencies are satisfied.

composer require drupal/dvf

Then enable as you would any other Drupal module. Either via extend page in the Drupal UI or via drush en dvf.

NOTE: The DVF module by itself is just an API and you will likely need to also install supporting modules base on the data source you are using. eg dvf_ckan.

Configuration

  • Visit Manage fields for the entity type you want to add the visualisation to. For example, to add a DVF field to a basic page, visit /admin/structure/types/manage/page/fields
  • Click Add field and select either Visualisation URL or Visualisation File depending on if the data source will be local or remote, provide a name for the field and save.
  • If using Visualisation File (requires a data source module like dvf_ckan or dvf_csv)
    • Select the Visualisation source (CSV or JSON)
    • Ensure the allowed file extension matches the source
    • All other defaults should be suitable
  • Save settings.