Comments (6)
Hello,
Try applying the sort('publish|desc')
method on your collection.
from oc-good-news-plugin.
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.
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
from oc-good-news-plugin.
So the start and stop dates do not have a clear functionality?
The last question :)
from oc-good-news-plugin.
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.
thx
from oc-good-news-plugin.
Related Issues (11)
- Plugin dosen't work with components HOT 3
- Ссылка на полный текст статьи HOT 1
- Ошибка в wiki (не существует поля description) HOT 1
- Ошибка в wiki. Перепутали переменную HOT 1
- Request to add CODE field to the news article
- Property field in article
- Please add the CSV Import
- cant change the url depending of the website languaje slug HOT 5
- Pagination slug HOT 2
- Get article title for page onEnd HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from oc-good-news-plugin.