Search

I need to figure out how to create a DS that can span two different date fields and matches a conditional. Currently i have a DS that gets all the events that start this month However we have a few anomalies where the event spans into the next month so i need to list event in both months.

What i would like to say is:

Filter Results - Start date is {$secondary:$this-year}-{$tertiary:$this-month} AND Expiration date is {$secondary:$this-year}-{$tertiary:$this-month} OR {$secondary}-{$tertiary+1}

How do i tell the DataSource to check for a conditional like this?

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