Search

I was wondering if there's a way to filter datasources by XSLT params. So far you can create a page and define some URL "chains" like year/month/day, but these chains cannot be broken in order to work properly.

What I would like to do on my weblog is to implement an Archive page where each page param is independent one another. For example, I may want to leave "year" and "day" empty (i.e. archive/_/10/) to let the system select only those entries which have been posted within that month.

I thought it might be done through XSLT by checking if the $year parameter was "_" and if necessary by overwriting its value with $last-year, but it didn't work. Thus I've come up with the following question: is there any way to define global parameters through XSLT that can be used to filter datasources, in the same way as page params act?

Simone

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