su-sws / stanford_news
Stanford News
Installs: 16 166
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 30
Forks: 5
Language:SCSS
Type:drupal-custom-module
Requires
- drupal/allowed_formats: ^1.2
- drupal/auto_entitylabel: ^3.0
- drupal/components: ^2.0
- drupal/ctools: ^3.4
- drupal/default_content: ^2.0
- drupal/ds: ^3.5
- drupal/element_class_formatter: ^1.3
- drupal/entity_print: ^2.1
- drupal/entity_reference_revisions: ^1.8
- drupal/field_formatter_class: ^1.3
- drupal/field_group: ^3.0
- drupal/layout_builder_restrictions: ^2.7
- drupal/menu_block: ^1.6
- drupal/page_manager: ^4.0
- drupal/paragraphs: ^1.11
- drupal/pathauto: ^1.8
- drupal/rabbit_hole: ^1.0-beta6
- drupal/taxonomy_menu: dev-3.x
- drupal/views_block_filter_block: ^1.0
- drupal/views_infinite_scroll: ^2.0
- drupal/views_taxonomy_term_name_depth: ^7.0
- su-sws/drupal-patches: ^8.0
- su-sws/jumpstart_ui: ^8.1
- su-sws/stanford_text_editor: ^8.1
- 8.x-dev
- 8.2.21
- 8.2.20
- 8.2.19
- 8.2.18
- 8.2.17
- 8.2.16
- 8.2.15
- 8.2.14
- 8.2.13
- 8.2.12
- 8.2.11
- 8.2.10
- 8.2.9
- 8.2.8
- 8.2.7
- 8.2.6
- 8.2.5
- 8.2.4
- 8.2.3
- 8.2.2
- 8.2.1
- 8.2.0
- 7.3.7-alpha.5
- 7.3.7-alpha4
- dev-master
- dev-D8CORE-4878
- dev-D8CORE-2832-focus-for-links-explore
- dev-D8CORE-2832-focus-for-links
- dev-D8CORE-2431
- dev-7.x-3.x-dev
- dev-D8CORE-2521
- dev-7.x-3.x-jsvpsa
This package is auto-updated.
Last update: 2024-09-09 01:06:40 UTC
README
Version: 8.x-2.x
Maintainers: boznik
Changelog: Changelog.md
Description
Stanford News feature provides an out of the box solution for displaying news content on your website. This feature contains a content type, fields, a news page layout, and taxonomy. This module is a great replacement for the default Article content type.
Accessibility
Evaluation Date: N/A This module conforms to level AA WCAG 2.0 standards as required by the university's accessibility policy. For more information on the policy please visit: https://ucomm.stanford.edu/policies/accessibility-policy.html.
Installation
Install this module like any other module. See Drupal Documentation
Configuration
- Pull in this branch.
- Build.
- Add terms to the Topics taxonomy. They have a generated path.
- Create a menu with your taxonomy terms.
- Go to /admin/structure/types/manage/stanford_page/display and allow Topics Menus block to be added via the Layout Builder.
- Create articles and tag them with a term from the taxonomy.
- Create term list pages.
- They need paths like this: /news/term-1 (term name) or /news/all
- On this page, use the layout builder to add your menu.
- On this page, add the News Terms block.
- On this page, add the Newsletter Sign up block.
Troubleshooting
If you are experiencing issues with this module try reverting the feature first. If you are still experiencing issues try posting an issue on the GitHub issues page.
Developer
If you wish to develop on this module you will most likely need to compile some new css. Please use the sass structure provided and compile with the sass compiler packaged in this module. To install:
nvm use
npm install
npm run publish
Contribution / Collaboration
You are welcome to contribute functionality, bug fixes, or documentation to this module. If you would like to suggest a fix or new functionality you may add a new issue to the GitHub issue queue or you may fork this repository and submit a pull request. For more help please see GitHub's article on fork, branch, and pull requests