Recu

  • Sascha Buchda
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
6 years 11 months ago #115976 by Sascha Buchda
Recu was created by Sascha Buchda
Hi,

I want to set up dancing courses which consist of 8 separate lectures which occur on a weekly basis. I tried it as standard event and as a recurring event. I could not find a way to configure either event type in compliance with our requirements:

1. In the the frontend (default layout, upcoming events layout, table layout or column layout) the event should be visibile as one course which can be booked as one item. That is, one booking per registrant or couple in case of group registration.
2. I want to define sessions (recurring weekly on wednesdays) for the event with start and end date (one event with start and end date plus time does not fit in here).
3. Sessions are not supposed to be book- and billable separately, booking only on course level.
4. In the calendar in the frontend I want to show the 8 sessions separately for informational purposes (i.e. when is the session taking place this week, should be the same event date and time every week in most of the cases).

Questions:

1. I found the multiple dates feature on the demo page, which could be a way to implement it, but I could not find anything about it in the documentation.
2. Any other suggestions to implement it?

Thanks in advance,

Sascha

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

More
6 years 11 months ago #115977 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Recu
Hi

1. Here is the link for additional dates plugin eventbookingdoc.joomservices.com/miscell...itional-dates-plugin

2. In your case, maybe:

- For additional date, you should set cut off date to a past date to disable registration for the event

- Maybe you should go to Events Booking -> Configuration, set Show children events date under parent events config option to Yes. By doing that, when users click on an additional date event in calendar, he will be redirected to parent event page

Not sure if it works but maybe you can try to setup and if needed, maybe customize code to meet your own need

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 #115979 by Sascha Buchda
Replied by Sascha Buchda on topic Events with sessions
Hello Tuan,

thanks for the immediate answer! I configured it correspondingly, works like a charm. A few things coming up to my mind as I see the result:

1. Is there a way to exclude the column "Anmelden" ("Register") column in the in the table in the event details view? Further, the ususal individual and group register buttons on event level would be very appropriate (the only workaround I can think of is relabelling the "Choose date & location" and the "Dieser Termin ist nicht mehr buchbar" of the additional sessions to something more suitable via the translations.
2. How can I include further fields like end date, location, etc. in the table in the event details view?
3. Nice to have: Is it possible to jump to the parent event from the calendar when clicking on a child event.

Thanks in advance!

Sascha

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

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

1. I am afraid of the only way is editing code. Try to look at the file components/com_eventbooking/view/common/tmpl/events_children.php, edit code to remove the column

2. I think these information are displayed in the table which display list of children events, so no need for showing it in main event. If you want to show it on main event, then again, you will need to edit code

3. It should work like that if you set Show children events date under parent events config option to Yes. You are saying that clicking on children event in calendar still redirect to child event instead of to parent event?

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 #115996 by Sascha Buchda
Replied by Sascha Buchda on topic Events with sessions
Hello Tuan,

thanks for your reply:

@1. I managed to replace the "Choose date & location" button by the "regular" ones, by modfiying the code in events_time.php . Uncommenting the if statement which sets $ismultiple to true did the trick. Approriate customization for my purpose with repstect to the circumstance, that I want to use multiple dates differently as intended by you.

@2. I managed to exclude the "Anmelden" ("Register") column by modifying events_children.php which defines the table for the display of the children events. Seems to be approriate to me too, see @1. Whatsoever, I did not manage to find the appropriate php file which defines the event details page uand subsequently calls events_children.php in order to include table. I tried so in order to include the register buttons as in a regular event on event level. Can you give me a hint, wehre to have a look at?

One more thing that croessed my mind doing the customizations: are they replaced by the uncustoized code, each time I do an update of events booking. IS the customization of the php files the preferred way to apply such custom-coding or is there a better way? Currently I did a backup of the standard files provided by you and my customizations.

Thanks for the input so far!

Sascha

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

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

1. The file you are looking for is components/com_eventbooking/view/event/tmpl/default.php

2. You can implement the change using template override so that the change won't be lost when you update to future releases of the extension. See docs.joomla.org/How_to_override_the_outp...rom_the_Joomla!_core :
- For the file events_time.php, you need to put it in to PATH_TO_TEMPLATE/html/com_eventbooking/common folder

- For the file events_children.php, you need to put the file to PATH_TO_TEMPLATE/html/com_eventbooking/common

- For the file default.php which I mentioned, you need to put it to PATH_TO_TEMPLATE/html/com_eventbooking/event folder

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 #116031 by Sascha Buchda
Replied by Sascha Buchda on topic Events with sessions
Hello Tuan,

ok seems to be the proper way to handle modifications, thanks a lot, I will give it a try!

1. Regarding the linkage of children events from the calendar (forgot to answer in my last reply) - yes the configuration option "Show children events date under parent events" is set to yes. Whatsoever, clicking on the event in the calendar, opens the children events page (as if it was a regular event). This maybe a side effect of my modifications (uncommenting the if ismultiple date switch).

2. What is the template file for the table shown in regular events? As I want certain information of the event to be shown in a regular event table on event level and some information which is sessions-specific to be in the multiple date table in the event, I am thinking of creating a template file events_children.php, which combines "the best of both worlds". This should be more or less a search and copy task in the corresponding code that already exists. Do you think another approach to include certain information on event level would be more appropriate?

Thanks in advance,

Sascha

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

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

1=> Submit a support ticket sending us super admin account of your site and link to calendar page so that we can check it for you

2=> Not sure what is the page you are talking about? Maybe you can send me the link to that page (or screenshot of that page) so that I can check and tell you the template file?

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 #116042 by Sascha Buchda
Replied by Sascha Buchda on topic Events with sessions
Hello Tuan,

1. Ok, I will submit a ticket.
2. I am thinking about including event-level information (such as max number of participants, number of registered participants, location, price) from a regular event ( dresden-hepcats.de/dev/de/anmeldung/work...gbandball-2018-11-24 ) into the event details table of the multiple dates event ( dresden-hepcats.de/dev/de/anmeldung/kurs/lh-c-b-a-2018-08-22 ), though it is partly also available on children-level.

Thanks,

Sascha

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 #116070 by Sascha Buchda
Replied by Sascha Buchda on topic Events with sessions
Hello Tuan,

can you say something regarding 2.?

Thanks in advance,

Sascha

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

Moderators: Tuan Pham Ngoc