Is it possible to set up a search form so that it can include a means of searching for dates within a Recurring Calendar Event.
I've set up a form that includes a Search Field to allow searching for both Single and Recurring Calendar Events by date ranges. It works well for Single Calendar Events - the Search Field searches on their Start Date attributes. Single events only occur on the one date, so as long as that date falls within the selected date range the search form returns the correct result/s.
However, for the Recurring Events, the only attributes available are Start date, End date and Stop date. There appears to be no way of relating them together as a 'date range' so that when somebody looks for a particular date range via the search form, the form knows to also look for that date range between the Start and Stop dates. Only if the specified date range covers the specific Start or Stop dates themselves does it return the correct result.
So I was wondering if anybody out there has run across this kind of problem before and has found a solution they can share?
Many thanks.
Steve
Hi Steve,
You may be able to get the result you want by using a Restricted-Period Calendar Page and setting its start and end dates dynamically via url parameters set in your search form.
see the manual for more details:
http://manuals.matrix.squizsuite.net/calendar/chapters/restricted-period-calendar-page/
Maks.
[quote]
Hi Steve,
You may be able to get the result you want by using a Restricted-Period Calendar Page and setting its start and end dates dynamically via url parameters set in your search form.
see the manual for more details:
http://manuals.matrix.squizsuite.net/calendar/chapters/restricted-period-calendar-page/
Maks.
[/quote]
Hi Maks,
Thanks for your response! I had a look at the manual but couldn't find anything there that explains how to do what you suggest. Can you give a few pointers?
Many thanks if you can.
Steve
I just looked as well on 4.2.2 and I don't see any dynamic parameter options, so I don't think this is an option.
[quote]
I just looked as well on 4.2.2 and I don't see any dynamic parameter options, so I don't think this is an option.
[/quote]
Ah, it is as I feared. Thanks for confirming that, Nic.