More than one Location

  • theophila
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 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.

More
12 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

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc