×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: V2.1 - Cancel reservation button - Both Templates

V2.1 - Cancel reservation button - Both Templates 12 years 2 months ago #17650

  • Sebastiaan
  • Sebastiaan's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 82
  • Thank you received: 3
When a user books an event, afterwards the cancel event button is shown on the page. However, when the user navigates away from the event and then returns to the previously booked event, the cancel event button does not show. It does say in the details that the event has already been booked.

So, in other words, users are not able to cancel their reservations after they have navigated away from the page. Allow cancellations is set to 1 day before the start of the event. The events I tested this on are in the future.

Joomla 2.5.6
Matukio 2.1.0
Attachments:

V2.1 - Cancel reservation button - Both Templates 12 years 2 months ago #17653

  • Yves Hoppe
  • Yves Hoppe's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 3519
  • Karma: 71
  • Thank you received: 556
Fixed this in 2.1.1.

Best regards,

Yves

V2.1 - Cancel reservation button - Both Templates 12 years 2 months ago #17812

  • Sebastiaan
  • Sebastiaan's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 82
  • Thank you received: 3
I just installed version 2.1.1 on my live site and my test site. Cleared the cached, but still the cancel booking button will not show up.

V2.1 - Cancel reservation button - Both Templates 12 years 2 months ago #17814

  • Yves Hoppe
  • Yves Hoppe's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 3519
  • Karma: 71
  • Thank you received: 556
The cancel reservation button now only shows up for registered Joomla Users. It was causing to much trouble with non-registered users :(

With 2.2.0 this going to be changed again (a little) - in every event registration mail will be a unique link, where everybody will be able to cancel their booking.

Yves
The following user(s) said Thank You: Sebastiaan

V2.1 - Cancel reservation button - Both Templates 12 years 2 months ago #17815

  • Sebastiaan
  • Sebastiaan's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 82
  • Thank you received: 3
My site only has registered users using Matukio, but still the cancel button does not show up.

V2.1 - Cancel reservation button - Both Templates 12 years 2 months ago #17816

  • Yves Hoppe
  • Yves Hoppe's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 3519
  • Karma: 71
  • Thank you received: 556
Hmm strange, for me it shows up. Which Browser are you using?

Should look like this (the one with the red cross):

www.webpagescreenshot.info/img/747767-921201270458PM

(only in your language)

Best regards,

Yves

V2.1 - Cancel reservation button - Both Templates 12 years 2 months ago #17817

  • Sebastiaan
  • Sebastiaan's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 82
  • Thank you received: 3
Hi Yves,

Yes that button does not up, only when I just booked an event it shows up. Browsing away from the event and returning makes it disappear (modern and old template).

I tried this on several computers with IE, FF and Chrome. On none of the computers and browsers did the cancel button show up. And I know that for my users it does not show up either looking at the steady stream of e-mail I get about this issue.

V2.1 - Cancel reservation button - Both Templates 12 years 2 months ago #17819

  • Yves Hoppe
  • Yves Hoppe's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 3519
  • Karma: 71
  • Thank you received: 556
Hmm for me it always shows up (you have to go to my bookings and then select the event).

Yves

V2.1 - Cancel reservation button - Both Templates 12 years 2 months ago #17820

  • Yves Hoppe
  • Yves Hoppe's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 3519
  • Karma: 71
  • Thank you received: 556
On the demo site it is also working fine. Strange

V2.1 - Cancel reservation button - Both Templates 12 years 2 months ago #17821

  • Sebastiaan
  • Sebastiaan's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 82
  • Thank you received: 3
That might be the issue, because in Seminar you did not have to go specifically to the "My Bookings" tab in order to see the cancel booking button.
In Seminar you could just select the event you booked for in the 'Eventslist' and it would show that you booked it and the cancel booking button would show up.

V2.1 - Cancel reservation button - Both Templates 12 years 2 months ago #17823

  • Yves Hoppe
  • Yves Hoppe's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 3519
  • Karma: 71
  • Thank you received: 556
Hmm, we moved it from the "normal" event to the my bookings tab, because of the two templates (modern and default).

If you want to show it also in the "normal" event view, you could change the line 234 in the components/com_matukio/views/event/tmpl/default.php, deleting the art==1 condition, then it would be shown also in the "normal" event display.

Yves

// Edit:

if ($this->art == 1 AND strtotime($this->event->booked) - time() >= (MatukioHelperSettings::getSettings('booking_stornotage', 1)
* 24 * 60 * 60) AND $bezahlt == 0
)

to

if (strtotime($this->event->booked) - time() >= (MatukioHelperSettings::getSettings('booking_stornotage', 1)
* 24 * 60 * 60) AND $bezahlt == 0
)

Perhaps with an template override. Not an ideal solution, i know..

V2.1 - Cancel reservation button - Both Templates 12 years 2 months ago #17825

  • Sebastiaan
  • Sebastiaan's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 82
  • Thank you received: 3
Now the button shows up! Thanks!
Maybe an idea to make this a setting in the back end?

V2.1 - Cancel reservation button - Both Templates 12 years 2 months ago #17826

  • Yves Hoppe
  • Yves Hoppe's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 3519
  • Karma: 71
  • Thank you received: 556
Aye, thought about this too and added it to my todo list. Will perhaps already come with 2.2.0 :)

Yves

V2.1 - Cancel reservation button - Both Templates 11 years 5 months ago #21089

  • Werner Destrijcker
  • Werner Destrijcker's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 8
  • Thank you received: 0
Hi,

I did the change in default.php but the button doesn't appear. I changed it to:

if (strtotime($this->event->booked) - time() >= (MatukioHelperSettings::getSettings('booking_stornotage', 1)
* 24 * 60 * 60) AND $bezahlt == 0
)

Do you have another solution ?

PS: I only use the "normal" way as the "modern" gives me a form to fill in that I can't remove/avoid as the user is already authenticated in joomla.
  • Page:
  • 1
Time to create page: 0.128 seconds