Giter VIP home page Giter VIP logo

contao-news-sorting's Introduction

Contao News Sorting

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

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.

Note: install inspiredminds/contao-categories-news-filter to restore compatibility with codefog/contao-news_categories.

contao-news-sorting's People

Contributors

dmolineus avatar fritzmg avatar xchs avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

contao-news-sorting's Issues

Top level sorting

If I select two or more news archives in a newslist module, the news are sorted separately for each news archive and are printed consecutively.
Would be very cool if this extension could sort the news on the top level across all archives.

EDIT: Contao 4.4.8 + codefog/contao-news_categories (if that matters)

More incompatible extensions

If I am right please add the following extension to the conflict list.

heimrichhannot/contao-slick-bundle

Many thanks. I'll keep testing.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.