Hi All,
I would like to know what is required create a search form which will search events from the Calendar module like the following;
Keyword/s: _____________________
Date From: dd/mm/yyyy
Date To: dd/mm/yyyy
Category: Food (Drop down list of all Calendar categories)
The idea being the search would combine keywords, date range and category to find matching events and list them in a results page preferably using the "list" (display="list") Calendar module template.
At the moment I have one idea on how to do it;
1. Clone the search module, call it 'advanced search' and create it as a new module following the tutorial from the cmsms site.
2. Modify the search form to add date from, date to and a category (categories from Calendar module) drop down list. Still retaining the exisintg keyword search function.
3. Modify the SQL code which finds matches to include new parameters date from, date to and category.
Just need some advice on whether there is an easier or better way to go about this. The idea is to use the Calendar module and this new advanced search module to build an events portal.
I am a fairly competent PHP developer so I am wondering if someone has done something similar or could point me in the right direction.
Any help or advice would be appreciated.
Thanks,
Ben
Modify search module / search Calendar events by Date Range and/or Category
-
- New Member
- Posts: 2
- Joined: Tue Jan 06, 2009 11:31 am
-
- New Member
- Posts: 5
- Joined: Fri Apr 24, 2009 5:21 pm
Re: Modify search module / search Calendar events by Date Range and/or Category
Did you find a result for your problem?
Cause I've got the same problem.
Greetins,
Michael
Cause I've got the same problem.
Greetins,
Michael