- Posts: 8
- Thank you received: 0
Events Booking View query string
- Dima
- Topic Author
- Offline
- New Member
-
I need a list of possible options to add to "Query String" field in "Events Booking View" module.
I have not found it in documentation.
In my case I need to be able to load from category but limit to certain number of items. I dont want to load all of the category items.
I would also need, if possible, to be able to filter them for instance by date, or date range or other parameters.
Thanks
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
Query String parameter is different based on the "view" you want to display in the module.
In your case, you use category view, so you can use the following paramters:
1. id
2. search
3. filter_order
4. filter_order_Dir
So as I can see, it could not be used to filter events to meet your need based on your requirement
Tuan
Please Log in or Create an account to join the conversation.
- David
- Offline
- New Member
-
- Posts: 10
- Thank you received: 0
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
Then the system will display events from category with id=2 and has the title or description match the the_sameple_search_string which you entered above
Tuan
Please Log in or Create an account to join the conversation.
- Jeff
- Offline
- New Member
-
- Posts: 7
- Thank you received: 0
Thanks!
Please Log in or Create an account to join the conversation.
- James Riley
-
- Offline
- Platinum Member
-

James Riley .: EventBooking user since 2014 ::: JoomDonation user since 2016 :.
.: grfx & web design / IT / AV @ St. Therese Institute of Faith and Mission, Bruno, SK, Canada :.
Please Log in or Create an account to join the conversation.
- James Riley
-
- Offline
- Platinum Member
-

James Riley .: EventBooking user since 2014 ::: JoomDonation user since 2016 :.
.: grfx & web design / IT / AV @ St. Therese Institute of Faith and Mission, Bruno, SK, Canada :.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
Sean wrote: Okay, I got the query string so it displays the correct category in the correct layout. Now, I need to know how to make the module only display the next event. Just one.
Thanks!
Try append limit=1 to the query string. It will display 1 event instead of multiple events
Tuan
Please Log in or Create an account to join the conversation.
- Dryfive
- Offline
- Senior Member
-
- Posts: 72
- Thank you received: 0
Thanks.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
Unfortunately, it is not possible. The query string here is the variables which are passed as a GET request. It is not a SQL query, so basically, it is not possible to do what you want with this module
Tuan
Please Log in or Create an account to join the conversation.
Support
Documentation
Information
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.