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.
|
|
2 days ago | |
|---|---|---|
| css | 2 years ago | |
| src/Plugin/Condition | 2 years ago | |
| README.md | 2 days ago | |
| composer.json | 2 years ago | |
| islandlives.info.yml | 2 days ago | |
| islandlives.libraries.yml | 2 years ago | |
| islandlives.module | 2 days ago | |
README.md
"IslandLives" Roblib customization module
Features:
- Pathauto fallback: if the pattern is named
repository_itemsand the item does not have a value in[node:field_pid]then[node:nid]will be used. - 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'.
- Adds Conditions (e.g. for use in Contexts) for "Media is published" and "Taxonomy term is published"
- 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:
- (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. - 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.