Code Monkey home page Code Monkey logo

drupal_doi's Introduction

###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.

drupal_doi's People

Contributors

dbassendine avatar janinea avatar mdye avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

shinde-rahul

drupal_doi's Issues

Implement as field display widget

Display as a field display widget rather than a block so users can configure how the citation is displayed.
Define a display widget for a field that allows you to have setting with it. So can say display this as a citation and select style you want content type to show.
Instead of using a block have the field displayed within the field display setting.

Setup and Testing

  • Install and enable the module to check if it works on a blank Drupal 7 site
  • Update the testing documentation based on our experience, so others can more easily test.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.