Get posts ordered by date & sticky
This is an open discussion with 4 replies, filed under General.
Search
Make two datasources and then use xslt to display sticky first.
It's not possible without customizing the Data Source. Take a look at the DS from the forum ensemble.
Make two datasources and then use xslt to display sticky first.
The problem is that pagination will become a total mess when using two separate datasources...
Ok, thanks for clearing this up. In this particular case it's on the front page, not showing pagination, so 2 separate data sources will do.
Create an account or sign in to comment.
I have a "posts" section with each post having a date and sticky field. In my datasource I want to get the latest posts and all sticky posts on top. Is this possible? How?