Pass Event Number and Name to Custom Registration Form

  • Michael Redmond
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
7 years 5 months ago #118774 by Michael Redmond
I want to use BreezingForms to create a custom registration page for my events. It has the ability to integrate with Events Booking extension, but I need to be able to pass two field values to the form as parameters:
  • Event ID
  • Event Title

How can I grab that information from the Event display when I press the REGISTER button?
Thanks.

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

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
7 years 5 months ago #118778 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Pass Event Number and Name to Custom Registration Form
Hi

You will have to edit code in the file components/com_eventbooking/themes/default/common/buttons.php if you want to pass it

In that file, $item->id will return ID of the event. $item->title will return title of that event

Base on that information, hope you can customize it to meet your need

Tuan

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

  • Michael Redmond
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
7 years 5 months ago #118780 by Michael Redmond
Replied by Michael Redmond on topic Pass Event Number and Name to Custom Registration Form

Tuan Pham Ngoc wrote:
You will have to edit code in the file components/com_eventbooking/themes/default/common/buttons.php if you want to pass it
In that file, $item->id will return ID of the event. $item->title will return title of that event


Excellent. I'll give this a try and let you know.
Thank you for your quick response.

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

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
7 years 5 months ago #118792 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Pass Event Number and Name to Custom Registration Form
OK Michael. Please note that once the change is done, you need to move the modified file to PATH_TO_TEMPLATE/html/com_eventbooking/common folder so that the change 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.

Moderators: Tuan Pham Ngoc