- Posts: 6
- Thank you received: 0
Event Booking Search - Multiple Categories
- Mike
- Topic Author
- Offline
- New Member
-
Less
More
6 years 11 months ago #115913
by Mike
Event Booking Search - Multiple Categories was created by Mike
Hi Tuan,
Is it possible to search for events that are in multiple categories?
For example, we want to limit the results to events that are both in category A and category B (category B has been specified in the addtional category field in the event page).
I can modify the existing search module but need to know the url parameters - it looks like the category_id parameter is only expecting one value.
Thanks,
Mike
Is it possible to search for events that are in multiple categories?
For example, we want to limit the results to events that are both in category A and category B (category B has been specified in the addtional category field in the event page).
I can modify the existing search module but need to know the url parameters - it looks like the category_id parameter is only expecting one value.
Thanks,
Mike
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Online
- Administrator
-
6 years 11 months ago #115922
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Event Booking Search - Multiple Categories
Hi Mike
It's unfortunately, and I am afraid of It is hard to make this modification. If you want to modify it to be able to select multiple categories like that, there will be code modification needed in many places:
1. The search module (to allow selecting multiple categories)
2. The controller components/com_eventbooking/controller/controller.php, method search to pass selected categories to search URL
3. The buildQueryWhere method components/com_eventbooking/model/list.php to filter results base on selected categories
You will need good programming skill to implement this modification
Tuan
It's unfortunately, and I am afraid of It is hard to make this modification. If you want to modify it to be able to select multiple categories like that, there will be code modification needed in many places:
1. The search module (to allow selecting multiple categories)
2. The controller components/com_eventbooking/controller/controller.php, method search to pass selected categories to search URL
3. The buildQueryWhere method components/com_eventbooking/model/list.php to filter results base on selected categories
You will need good programming skill to implement this modification
Tuan
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.