Recu

  • Sascha Buchda
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
6 years 11 months ago #116074 by Sascha Buchda
Replied by Sascha Buchda on topic Events with sessions
Ok found the corresponding files, will try to make the necessary customizations :-).

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

More
6 years 11 months ago #116077 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Events with sessions
OK great. If you have other questions, please don't hesitate to ask

Regards,

Tuan

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

More
6 years 11 months ago - 6 years 11 months ago #116236 by MACKevin
Replied by MACKevin on topic Events with sessions
I believe I have the same or similar requirement as Sascha:

We have classes that require one registration, and run for several weeks on the same day and time each week. I display the classes by "Category" on my site.

I only want One instance of the class (the first instance) listed there. This is the only instance I want registration enabled

I also want ALL instances of the class displayed on the calendar. (registration disabled on these)

My workaround has been to set up the events with my recurring dates, assigning all to a category I do not display named "calendar only". I then go back to the initial instance and assign it to the category I display "Kids classes". Then i need to disable registration on all of the child events.; This is needed in order to stop people from registering for one of the child classes, missing the main registration for the full session of classes.

Is there an easier, more efficient way to do this?

I tried enabling "additional dates plugin" from this thread, but the result was all of the child events being displayed on my page, not just the first class.

Thanks for any help!
Last edit: 6 years 11 months ago by MACKevin.

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

More
6 years 11 months ago #116239 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Events with sessions
Hi Kevin

If you don't want all children events are being displayed, you can go to Events Booking -> Configuration, set Show children events date under parent events config option to Yes. When you do that, these children events will be displayed on event details page of parent event, not being displayed on events list like before

If it's needed, we can easily edit code to remove list of children events in event details page if you need

Unfortunately, we don't have a better way to handle this requirement

Tuan

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

More
6 years 11 months ago - 6 years 11 months ago #116258 by MACKevin
Replied by MACKevin on topic Events with sessions
Thanks for the quick reply Tuan!

I'm still curious what others may be doing with similar requirements. Maybe there is a better, simpler approach I should be using.
Last edit: 6 years 11 months ago by MACKevin.

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

  • Sascha Buchda
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
6 years 11 months ago #116259 by Sascha Buchda
Replied by Sascha Buchda on topic Events with sessions
Hi Kevin,

what I did to meet the requirement was:

1. Implement the "recurring event" via the multiple dates plugin.
2. I adjusted the output which is visible on the website by customizing the php template files and storing them as template ovverrides. In the event details view you can see now two tables: one with event generic information, such as number of registered participants, price, etc. and one with sessions pecific information such as time and location. Further I am displaying the regular registration buttons and excluded the ouput of the registration in the session table. In combination with the settings mentioned by Tuan this will give you the customization regarding events with sessions.
3. The backend logic works fine, registration occurs on parent event level only, while registration in the frontend for sessions is not possible, as it is not displayed anymore. That means all modifications affect the output templates only and dod noit impact the core of events booking.

I you want to I can provide you (Kevin and Tuan) with my modified template files and to get an idea of what I did with a link to my testwebsite which I used to test the setup.

@Tuan: Maybe you can think of a way to include the requested behavior in the core of events booking, not requiring for template overrides, in case the feature is requested more often?

Kind regards,

Sascha
The following user(s) said Thank You: MACKevin

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

More
6 years 11 months ago - 6 years 10 months ago #116260 by MACKevin
Replied by MACKevin on topic Events with sessions
Hello Sascha,

Thank you for the offer! Yes, I would be very interested in seeing your demo site and getting your modified templates. Much appreciated!
Last edit: 6 years 10 months ago by MACKevin.

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

More
6 years 11 months ago #116263 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Events with sessions
Hi Sascha

For now, maybe you can share the template override directly here in case someone needs it?

Regards,

Tuan

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

  • Sascha Buchda
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
6 years 11 months ago #116302 by Sascha Buchda
Replied by Sascha Buchda on topic Events with sessions
Hi Kevin,
hi Tuan,

please find the template overrides in the zip file attached.

@Kevin: place the folder com_eventbooking included in the zip file in your PATH_TO_YOUR_SITE_TEMPLATE/html/ directory. This should give you the modifications, when setting up a recurring event with multiple dates plugin (details to the backgroud are also included i nthe docs provided by Tuan, see seciton customize layout in eventbookingdoc.joomservices.com/develop...ion/customize-layout ).

You can have a look at the result on my test website: dresden-hepcats.de/dev/de/kurse/aktueller-kursplan .

Kind regards,

Sascha
Attachments:
The following user(s) said Thank You: Tuan Pham Ngoc, MACKevin

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

More
6 years 11 months ago #116379 by MACKevin
Replied by MACKevin on topic Events with sessions
Thank you Sascha! This looks great.

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

Moderators: Tuan Pham Ngoc