GithubHelp home page GithubHelp logo

morgandawe / dgi_members Goto Github PK

View Code? Open in Web Editor NEW

This project forked from discoverygarden/dgi_members

0.0 1.0 0.0 73 KB

Facilitates the display of compound objects, or objects with members.

License: GNU General Public License v3.0

JavaScript 27.29% PHP 72.71%

dgi_members's Introduction

DGI Members

Introduction

Of General Use

Provides a new context condition and logic to allow an objects member to be evaluated based on the presence of a given taxonomy term.

Anticipate Only for DGI

Hooks that bind to DGI's config and manipulate DGI specific markup.

Requirements

This module requires the following modules/libraries:

Installation

Install as usual, see this for further information.

Usage

Compound Objects

This module would typically be used to create a display for compound objects. The included condition will evaluate a compound's first member (by order of weight on the 'Members' section), or by the provided query param (should be 'active_member').

  • Create a compound object display if one does not already exist, by configuring a new condition to to evaluate if node has term ('Node has term with URI => 'Compound Object', for example).
  • Configure each islandora display on the context page (such as 'Open Seadragon', 'PDFjs Viewer', etc.) to also evaluate this module's provided condition, 'Compound active member node has term with URI', checking for the same term present on the child object (either first member sorted by weight, or the node ID from a query param, should be 'active_member').
  • Add a new contextual filter to the 'Repository Item: Top Viewer' display in the 'Repository Item Content Blocks' view of 'Content: Collection(s)'.
  • Change the 'Pager' settings to only show a specific number of items, 1.

This module will allow switching view modes for the current member of the compound object, not just the compound object itself (provided by the menu router).

Troubleshooting/Issues

Having problems or solved one? contact discoverygarden.

Maintainers/Sponsors

Current maintainers:

Development

If you would like to contribute to this module create an issue, pull request and or contact discoverygarden.

License

GPLv3

dgi_members's People

Contributors

morgandawe avatar nchiasson-dgi avatar jojoves avatar adam-vessey avatar jordandukart avatar willtp87 avatar chrismacdonaldw avatar

Watchers

 avatar

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.