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

Command icon 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

david-b created an issue. See original summary.

rolki’s picture

Status: Active » Needs work
rolki’s picture

Status: Needs work » Reviewed & tested by the community

  • podarok committed c9813fe1 on 1.0.x
    Merge branch '3479331-small-y-template' into '1.0.x'
    
    Resolve #3479331...

  • david-b committed b2ca7128 on 1.0.x
    [#3479331]: [Small Y Template] Article Views & Listings
    

david-b’s picture

Status: Reviewed & tested by the community » Needs review
rolki’s picture

Status: Needs review » Reviewed & tested by the community

  • podarok committed aa9c9550 on 1.0.x
    Merge branch '3479331-small-y-template' into '1.0.x'
    
    [#3479331]: Add...

  • david-b committed 65bda472 on 1.0.x
    [#3479331]: add .info.yml and install files
    

  • david-b committed b653b35c on 1.0.x
    [#3479331]: Add template and style for Article Listings