Git Product home page Git Product logo

Comments (6)

igor-tv avatar igor-tv commented on July 3, 2024 1

Hello,

Try applying the sort('publish|desc') method on your collection.

from oc-good-news-plugin.

igor-tv avatar igor-tv commented on July 3, 2024 1

Perhaps I misunderstood you. But by design, only articles with the Published status should be included in the collection. There are other tools for sorting and grouping articles, and this is not an article status. But you can extend the plugin logic as you need.

from oc-good-news-plugin.

ANZ504 avatar ANZ504 commented on July 3, 2024

What I want to achieve is to use the new status and put a start and end date of a new news.

And so manage to create a component in which to place the new news that are updated in the established arrows

Captura de Pantalla 2022-08-14 a la(s) 07 43 25

from oc-good-news-plugin.

ANZ504 avatar ANZ504 commented on July 3, 2024

So the start and stop dates do not have a clear functionality?

The last question :)

from oc-good-news-plugin.

igor-tv avatar igor-tv commented on July 3, 2024

It works like this. If an article has a status of Published, it will only be added to the collection if the current date is within the start and stop date of the article's publication.

from oc-good-news-plugin.

ANZ504 avatar ANZ504 commented on July 3, 2024

thx

from oc-good-news-plugin.

Related Issues (11)

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.