Skip to content
This repository was archived by the owner on May 25, 2023. It is now read-only.

Question: How to solve News Listing with raptus.article #9

@frisi

Description

@frisi

i'd like to use raptus.article for news items too - since components such as teaser image, galleries and the like are nice to have for news-items too (and the layout of articles is consitent across the portal)

for listings the news it's good to use collections in order to sort news by effective date.
on the other hand, having a teaser image and optionally other components available on the listing-view would be a good thing - so let's use an article for this too

i tried a setup with raptus.article.collections

/news (raptus.article - collection component activated)
/news/aggregator (collection, filters for articles - location ../ and and subfolders)
/news/2014 folder containing news articles

downsides:
the collection will return the article /news (used to display the collection results) too
we could work around this by requiring a certain keyword for articles used as news items, or by altering the location of the collection-criteria to the 2014 subfolder (and adapt it every year)

i wondered whether you guys at raptus ever had similar problems and do have other solutions for this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions