Edit fields for a new registrant

  • Ville
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
9 years 7 months ago #85651 by Ville
Edit fields for a new registrant was created by Ville
Where can I hide Discount Amount, Late Fee, Tax Amount and Gross Amount in the form for register av new registrant?
We don´t use it at all and that is why we want to hide them.

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

More
9 years 7 months ago #85657 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Edit fields for a new registrant
You would have to edit the code. You are talking about the form from frontend or backend? Please let me know so that I can tell you the file you need to modify, it should not be hard

Tuan

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

  • Ville
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
9 years 7 months ago #85669 by Ville
Replied by Ville on topic Edit fields for a new registrant
It is both frontend and backend.
I suppose that after next update I have to edit the code again.
Thank you

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

More
9 years 7 months ago #85671 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Edit fields for a new registrant
Below are the two files you have to edit

components/com_eventbooking/view/registrant/tmpl/default.php

and

administrator/components/com_eventbooking/view/registrant/tmpl/default.php

You can use template managers to create the override so that the change won't be lost when you update to future releases of Events Booking

Tuan

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

  • Ville
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
9 years 7 months ago #85723 by Ville
Replied by Ville on topic Edit fields for a new registrant
Thank you. It works.

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

More
9 years 7 months ago #85725 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Edit fields for a new registrant
Great. Please remember to use template override so that this change won't be lost when you update to future releases of Events Booking

Also, if you use version 2.9.0, please make sure updating to version 2.9.1 as 2.9.0 had a bug in it's plugins

Tuan

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

  • Ville
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
9 years 7 months ago #85728 by Ville
Replied by Ville on topic Edit fields for a new registrant
OK, already updated! Change log for 2.9.1 is not yet published?

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

More
9 years 7 months ago #85729 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Edit fields for a new registrant
It is here joomdonation.com/forum/events-booking-ge....html?start=10#85705 , just fix a mistake in install update script :(

Tuan

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

Moderators: Tuan Pham Ngoc