Add a new custom button on the top of the registrants management page

  • Arbind Bhagat
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
3 years 11 months ago #140276 by Arbind Bhagat
What is the best/recommended way to add a custom button on the top of the registrants management page on the frontend/backend, without modifying the core code?

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

More
3 years 11 months ago #140278 by Tuan Pham Ngoc
Hello Cami

The main question here is what is the button used for? Please let me know so that I can understand your requirement and guide you with correct setup

Tuan

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

  • Arbind Bhagat
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
3 years 11 months ago #140293 by Arbind Bhagat
Lets say, for example, I want to send the registrants' information to a third party API. Of course, I will code that up, but I want to know what is the recommended way to do this. I mean, if it needs to be an override, which file needs to be overridden? Or, is there any other recommended way?

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

More
3 years 11 months ago #140311 by Tuan Pham Ngoc
Hello Cami

The easiest way would be override the layout file. For frontend, the file is components/com_eventbooking/themes/default/registrants/default.php

For backend, the file is administrator/components/com_eventbooking/view/registrants/tmpl/default.php

Regards,

Tuan

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