Custom module for Islandlives
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Rosie Le Faive 4f4d32077e Attempt at updating taxonomy term pattern. 2 days ago
css first commit of module developed by Rosie 2 years ago
src/Plugin/Condition Change namespace. 2 years ago
README.md Update readme. 2 days ago
composer.json added composer.json 2 years ago
islandlives.info.yml Update help text for module. 2 days ago
islandlives.libraries.yml first commit of module developed by Rosie 2 years ago
islandlives.module Attempt at updating taxonomy term pattern. 2 days ago

README.md

"IslandLives" Roblib customization module

Features:

  1. Pathauto fallback: if the pattern is named repository_items and the item does not have a value in [node:field_pid] then [node:nid] will be used.
  2. CSS library to highlight "Unpublished" things: When you render a View, if it's in the (hardcoded) list, this module will apply a red highlight of rows that have class 'Unpublished'.
  3. Adds Conditions (e.g. for use in Contexts) for "Media is published" and "Taxonomy term is published"
  4. Fixes a bug in DGI's Islandora Hierarchical Access (possibly now addressed by this commit where the module was granting public access to unpublished media and their files, when the node was published. This fix locks down unpublished Media and their files.

Configuration:

  1. (Pathauto fallback): Create a pathauto pattern called repository_items, and put [node:field_pid] in the pattern. With this module enabled it will fallback to node id if there is no pid.
  2. Set up any the views listed in islandlives_views_pre_render() so that under Table > Settings > "Row class" they have '{{ status }}' (and the status field is set to display "Unpublished" if the item is unpublished). Then the css selector should pick up 'Unpublished'. You may need to add the Published (status) field to the views.