- Posts: 13
- Thank you received: 0
More than one Location
- theophila
- Topic Author
- Offline
- New Member
-
Less
More
13 years 8 months ago #11068
by theophila
More than one Location was created by theophila
Hi! With some of our events (like workshop weekends), there of several locations, at least one for each day. Is there a means to implement more than one location yet? I realise the code spans several files, both in the administrator and the components folders, but I'm comfortable with modifying code if I can get some direction.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
13 years 8 months ago #11117
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: More than one Location
Hi
Right now, the extension only supports one location for an event. Supporting more than one locations will require modify code in several places and also modifying database structure. Below are some hints :
- Locations are stored on t0r4j_eb_locations database table .
- Location for one event is stored on location_id field in t0r4j_eb_events table .
- If you want to support multiple locations, the code you need to modify is administrator/components/com_eventbooking/views/event folder . Also, need to modify administrator/components/com_eventbooking/models/event.php file to store locations for event .
- Modify code in the front-end of the component to display these locations :
- components/com_eventbooking/views/category
- components/com_eventbooking/views/event
I think it is not an easy task !
Tuan
Right now, the extension only supports one location for an event. Supporting more than one locations will require modify code in several places and also modifying database structure. Below are some hints :
- Locations are stored on t0r4j_eb_locations database table .
- Location for one event is stored on location_id field in t0r4j_eb_events table .
- If you want to support multiple locations, the code you need to modify is administrator/components/com_eventbooking/views/event folder . Also, need to modify administrator/components/com_eventbooking/models/event.php file to store locations for event .
- Modify code in the front-end of the component to display these locations :
- components/com_eventbooking/views/category
- components/com_eventbooking/views/event
I think it is not an easy task !
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.