fritzmg/contao-news-sorting

Sort settings for the Contao news list.

Fund package maintenance!
fritzmg

Installs: 2 601

Dependents: 0

Suggesters: 0

Security: 0

Stars: 5

Watchers: 1

Forks: 2

Open Issues: 0

Type:contao-module

3.0.2 2021-11-04 14:03 UTC

This package is auto-updated.

Last update: 2022-11-14 19:01:39 UTC


README

Contao News Sorting

Contao extension to allow additional sort settings in the news list. This setting is then applied via the newsListFetchItems hook.

The following settings are available:

  • Date (descending)
  • Date (ascending)
  • Headline (ascending)
  • Headline (descending)
  • Random
  • Random (Date descending)
  • Featured
  • Custom (Date ascending)
  • Custom (Date descending)

Some of these settings are already available in some Contao 4 versions. The extension is fully compatible with that and only uses the hook when necessary.

When using the Custom sort setting you can switch the sorting in the back end to Sorting value (do not forget to apply) and then sort the news articles via drag & drop in the back end.