Help with a custom DS. Spanning Dates.
This is an open discussion with no replies, filed under Troubleshooting.
Search
Create an account or sign in to comment.
This is an open discussion with no replies, filed under Troubleshooting.
Create an account or sign in to comment.
Quick Links
Symphony • Open Source XSLT CMS
--with-xsl
)
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?