Skip to content

Latest commit

 

History

History
63 lines (42 loc) · 2.15 KB

README.md

File metadata and controls

63 lines (42 loc) · 2.15 KB

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