How to add custom message in registration form?

  • netget
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
13 years 1 month ago #8312 by netget
Hi Tuan,

Need help

In the registration form under the Offline payment radio button and above Comment box, i want to display a short note message? can you please help me to do that?




Thx

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

More
13 years 1 month ago #8318 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: How to add custom message in registration form?
Hi

In this case, we will need to modify the code alitle (hope you know simple HTML + PHP). Below are the instructions :

- Open the file components/com_eventbooking/views/register/tmpl/default.php .

- Look at the code at line 370 :
Code:
if ($this->config->s_comment) {

- Add the code below before that line of code :
Code:
?> <tr> <td colspan="2"> <p>This is the message you want to add</p> </td> </tr> <?php


I attached the file here . You can simply get the file, unzip it, find the message I added in the file and change it to what you want, then upload it to components/com_eventbooking/views/register/tmpl folder . After that, it should work as expected !

Hope this help !

Regards,

Tuan

Attachment default-20110322.zip not found

Attachments:

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

  • netget
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
13 years 1 month ago #8357 by netget
Thanks Tuan, i modify the mentioned file. It works. :)

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

More
13 years 1 month ago #8361 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: How to add custom message in registration form?
Great , you are happy now :) !

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

Moderators: Tuan Pham Ngoc