Mark an event as cancelled

  • François Esposito
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
2 months 2 weeks ago #164433 by François Esposito
Mark an event as cancelled was created by François Esposito
HelloHow do I mark an event as canceled or suspended?

Thank you in advance for your answer

François

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

More
2 months 2 weeks ago #164434 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Mark an event as cancelled
Hi François

Go to Events Management screen, check on the checkbox next to the event you want to cancel and press Cancel Event button in the toolbar. Then the event will be cancelled

Tuan

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

  • François Esposito
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
2 months 2 weeks ago #164508 by François Esposito
Replied by François Esposito on topic Mark an event as cancelled
Hi Tuan,

Thank you for your answer. I understood how to cancel an event but in the calendars we do not see that the event is canceled. you have to go into the details of the event to know that it is canceled.
how can I overcome this problem?
Sincerely
François

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

More
2 months 2 weeks ago #164513 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Mark an event as cancelled
Hi François

On what other pages you want to show it as cancelled? It is very likely that code modification will be needed to show that cancelled status

Tuan

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

  • François Esposito
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
2 months 2 weeks ago #164523 by François Esposito
Replied by François Esposito on topic Mark an event as cancelled
Hi Tuan

I would like to display canceled events in the "Upcoming Events" and "Mini Calendar" modules as well as in "Calendar - Monthly Layout"
Can you tell me which files to modify?
François

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

More
2 months 2 weeks ago #164535 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Mark an event as cancelled
Hi François

1. For mini calendar, It is not possible because on that calendar, we do not display event, just list of days in month and when user click on a day, events from that day will be displayed

2. For monthly calendar, the file is components/com_eventbooking/themes/default/calendar/default_calendar.php

3. For upcoming events, it depends on the layout you are using. Could you send me link to the page which I can check ?

Tuan

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

  • François Esposito
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
2 months 2 weeks ago #164539 by François Esposito
Replied by François Esposito on topic Mark an event as cancelled
Hi Tuan
For the "monthly Calendar" module I modified the file and it works.
For the mini calendar I was thinking of marking “canceled” in the tooltip.
For "Upcoming Events" here is the link:
asg-barbaroux.fr/le-golf/le-parcours
Have a good day

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

More
2 months 1 week ago #164551 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Mark an event as cancelled
For upcoming events, please try to modify the file modules/mod_eb_events/tmpl/default.php

BTW, please move all change files to template override so that it won't be lost when you update to future releases of the extension

Regards,

Tuan

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

  • François Esposito
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
2 months 1 week ago #164579 by François Esposito
Replied by François Esposito on topic Mark an event as cancelled
Hi Tuan
My modifications are made and it works perfectly!
Thank you so much
François

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

More
2 months 1 week ago #164580 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Mark an event as cancelled
Great. Happy to hear that and thanks for the update François

Tuan

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

Moderators: Tuan Pham Ngoc