Custom module for Islandlives
rlefaive aaad4ee11e Add all scholars to the views that get red if unpublished 4 months ago
css first commit of module developed by Rosie 5 months ago
README.md Update 'README.md' 4 months ago
composer.json added composer.json 5 months ago
islandlives.info.yml first commit of module developed by Rosie 5 months ago
islandlives.libraries.yml first commit of module developed by Rosie 5 months ago
islandlives.module Add all scholars to the views that get red if unpublished 4 months ago

README.md

Features:

  1. red highlight of Views rows that have class 'Unpublished'.
  2. pathauto fallback for pattern 'repository_items' that defaults to NID if field_pid is empty

Configuration:

  1. Set up the views listed in islandlives_views_pre_render() so that under Table > Settings > "Row class" they have '{{ status }}'. Then the css selector should pick up 'Unpublished'. You may need to add the Published (status) field to the views.
  2. Create a pathauto pattern called 'repository_items'.