Search

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?

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.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details