Skip to content

Creation of a Drupal Module to display and manage DOI metadata within a Drupal website

Notifications You must be signed in to change notification settings

NCAR/drupal_DOI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

###Creation of a Drupal Module to display and manage DOI metadata within a Drupal website

To test this module:

  • In your Drupal instance, go to sites/all/modules/custom
  • Download or clone this repository
  • Rename folder from drupal_DOI to doi_display
  • Enable module under Modules (may need to clear cache)
    • This creates the DOI content type and field definitions
  • Edit the DOI content type "First Use Paper" entity reference to point to the correct target bundle for publications
  • Add a DOI entityreference field (field_doi_reference) to the content type you'd like to display citations on (eg. Basic Page)
  • Enable "DOI Display" block under Structure -> Blocks
  • Edit "DOI Display" block visibility criteria to match your content type
  • Add a new DOI node, setting the title to the DOI itself
  • Edit your content node to reference the new DOI
  • View your content node: the "Citation" block should appear

Note: Uninstalling (not disabling) the module will also delete the DOI content type and all associated data.

About

Creation of a Drupal Module to display and manage DOI metadata within a Drupal website

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •