All Low add-ons are now owned by EEHarbor. Read the blog post.

Support archive

Custom Low Events Filters Within Low Search

Stoyan Vasilev 19 Nov 2014 17:09 question, complete

Hi Low,

We are building a custom Events browse functionality using Low Search and passing Low Events date ranges as input fields. We would like to know how we can accomplish the 4 custom filtering options below:

1) "Today:" events opening today (includes single day and regular events)
2) "One day only:" single day events *only* between now and six days from today
3) "Opening soon:" all events opening between tomorrow and six days from today
4) "Closing soon:" all events closing between now and six days from today

We understand how we can provide a date range during which an event is open. The main part which we are looking to learn from you is: how to provide a range *only for* the opening (or closing) date of an event and disregard its closing (or opening) date range (see #3 and #4 above for examples).

Is the easiest way to solve this to write a custom Low Search filter (or can we do something simpler/within the existing Low Events functionality)?

Thanks,
St

Replies

  1. Low 20 Nov 2014 08:17

    As I see it now, only 2 and 4 can't be replicated with native LE tags, so can't be searched for either. 1 would be unit="day" with date left blank (today), 3 would be date="tomorrow|+ 6 days", but would also contain events that have already started, but end in that timeframe.

    If you're looking to filter by start or end date only, then using a custom filter would be the way to go, yes.

    Contact me if you're interested in commissioning the work.

  2. Stoyan Vasilev 28 Nov 2014 18:25

    Thanks, Low. We wrote the custom filters ourselves.