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
626d2a281f
|
3 weeks ago | |
---|---|---|
css | 1 month ago | |
src/Plugin/Condition | 3 weeks ago | |
README.md | 3 weeks ago | |
composer.json | 1 month ago | |
islandlives.info.yml | 1 month ago | |
islandlives.libraries.yml | 1 month ago | |
islandlives.module | 1 month ago |
README.md
Features:
- red highlight of Views rows that have class 'Unpublished'.
- pathauto fallback for pattern 'repository_items' that defaults to NID if field_pid is empty
Configuration:
- 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. - Create a pathauto pattern called 'repository_items'.