Views & filters for article listings that allow users to sort articles by location and/or category and search by keyword.
Assumptions:
- Related article component will have the option for content to be populated by:
- Automatically via the selected article type (i.e. articles tagged for the same type) - DEFAULT SETTING
- Component will pull in 3 most recent articles with the same article type
- Automatically via category taxonomy (i.e articles tagged for the same category)
- Component will pull in 3 most recent articles with the same category tag
- Automatically via location (i.e. other articles tagged for the same location)
- Component will pull in 3 most recent articles with the same location tag
- Manually selected by the admin
- Admin must manually select articles for display
- Related articles can be set to display in sets of 3, 6, 9, 12 or All (i.e. rows of 1, 2, 3, 4, all) to allow for the component to be placed within any page via layout builder
Constraint:
The current article page should never display in the related articles block
Fields:
- Section Title (required)
- Section Sub-title (required)
- # of rows (1, 2, 3, 4, All)
- View settings (related category, related locations, manual)
Issue fork ws_small_y-3479331
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
rolki commentedComment #4
rolki commentedComment #8
david-b commentedComment #9
rolki commented