contao / contao-demo

This is an example website for Contao, a powerful open source CMS that allows you to create professional websites and scalable web applications.
https://contao.org
Creative Commons Attribution Share Alike 4.0 International
3 stars 8 forks source link

News archive broken #52

Open k-webdesign opened 1 month ago

k-webdesign commented 1 month ago

When you're on https://demo.contao.org/news.html I'm missing the news archive in general.

Found out that the archive gets visible as soon as I click on a news item, e.g. https://demo.contao.org/news/new-contao-versions-in-short-intervalls.html. Now I use the filter for February 2023 (https://demo.contao.org/news.html?month=202302) and get still other news entrys. Also I can't reset my filter because the 'news' link in the navigation is active.

Besides of fixing the behaviour a separate newsarchive navigation would be very helpful for filtering.

Solution: Add a new module "news archive" below the news list, which filters to months. Or years. Or whatever is needed.

btw: I also don't get the links below the news: User, Up, Events ??

zoglo commented 1 month ago

I wouldn't say the news archive is broken, it's simply misleading design on the news-reader page with the archive-menu on the left side being added.

Filters not working

Shouldn't we just swap the current news_list simple for the archive and pick the news_latest template within that one? Would be the same and the filters would work. Having both doesn't make sense to me.

Resetting

Also I can't reset my filter because the 'news' link in the navigation is active.

That's a limitation by contao, not the demo imo

Book Navigation

I also don't get the links below the news: User, Up, Events ??

That's the bookmark navigation, it has a to top functionality (in the middle) and can navigate to the previous and next page.

k-webdesign commented 1 month ago

In my opinion it's broken because it's not filtering correctly on https://demo.contao.org/news.html?month=202302

Having both, news_list and news archive is neccessary in a demo imo. We want to show the features Contao has and this is one.

Sure, the navigation has to get re-thought because as it is, it doesn't make sense and isn't intuitive. When you've filtered to https://demo.contao.org/news.html?year=2023 you don't really recognize it's a filtered list.

We want to show an easy and accessible system, so the navigation and the filters should work and be easy to use. Some buttons for the news archive above the news list should already be fine.

Suggestion: Show preview image of the download element

Book Navigation: Nah, the "up" link on https://demo.contao.org/news.html leads to "modules", not "to top". So more "1 level up". "to top" only works in the first level: https://demo.contao.org/content-elements.html. Maybe I'm just getting this totally wrong 🤷🏼‍♀️