How to Add Cancel Registration button in Table layout?

More
6 years 8 months ago #126916 by Edwin
Hello there,

My events registration page is now able to display events in table layout, thanks to you. In the table layout, clicking on the event's name or image will show the event's properties where a registrant is given the option to "CANCEL Registration" (see screenshot-01), a feature we really like. Is it possible to add "CANCEL Registration" button in table view too (see screenshot-02)? If yes, please show me how?

I look forward to hearing from you soon.

Kind regards,
Edwin

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

More
6 years 8 months ago #126919 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic How to Add Cancel Registration button in Table layout?
Hi Edwin

We don't support showing that button on table layout. So if you need it, you will need to modify code in the file components/com_eventbooking/themes/default/common/events_table.php to add the button

It's not really easy to do that . You will need to look at the code in the file components/com_eventbooking/themes/default/common/buttons.php (from line 190 to 203), and hopefully, use that same code to show the button in the position you want in table layout

Tuan

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

More
6 years 8 months ago #126942 by Edwin
Hi Tuan,

Thank you for your message above. I did what you suggested above to no avail. As you said, it's not so easy to implement this feature.

May I ask, which file in com_eventbooking is doing the "CANCEL Registration" as in the Event Properties page (see the attached Screenshot-01)? If Events Properties page can do this feature, the answer to my problem could be found in this file.

I look forward to hearing from you soon.

Kind regards,
Edwin

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

More
6 years 8 months ago #126951 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic How to Add Cancel Registration button in Table layout?
Hi Edwin

I don't understand your question. Maybe you can switch to use default layout instead of table layout and the button will be available by default without the need of doing the modification?

Regards,

Tuan

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

More
6 years 8 months ago #126957 by Edwin
Hi Tuan,

So, what I am seeing when I click on the event name or event image on table view is called 'Default layout". Okay, can you please tell me what file is handling the default layout so I could copy the code from it (i.e., code for Cancel registration button)?

Thank you in advance,
Edwin

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

More
6 years 8 months ago #126960 by Edwin
Hi Tuan,

I forget to mention in my previous reply that table layout is the best choice for our event registration page, that is why we cannot use default layout.

I hope you understand.

Kind regards,
Edwin

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

More
6 years 8 months ago #126971 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic How to Add Cancel Registration button in Table layout?
If you want to use that layout, you will need to customize the code to add Cancel Registration button

If you don't know how to do that, is it OK to hire us to customize the layout for you with small fee 20$ ?

Please let us know

Tuan

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

Moderators: Tuan Pham Ngoc