[Solved] Hide custom field in registration details

  • Baptiste
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
10 years 4 months ago - 10 years 4 months ago #53600 by Baptiste
Hi!

I'm using a custom field which is just a notification (type : message) during registration process.

Unfortunately, this custom field is also displayed after registration in the email send witrh registration details.

Is there a way to hide that? or is there another solution?

Thank you!

Baptiste
Last edit: 10 years 4 months ago by Baptiste.

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

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
10 years 4 months ago #53669 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Hide custom field in registration details
We will need to edit the code to hide the custom field. Please submit a support ticket sending us super admin account of your site so that we can check and solve it for you

Regards,

Tuan
The following user(s) said Thank You: Baptiste

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

  • Baptiste
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
10 years 4 months ago #54074 by Baptiste
Replied by Baptiste on topic Hide custom field in registration details
Perfectly solved,

Thank you Tuan!

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

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
10 years 4 months ago #54109 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Hide custom field in registration details
OK Baptiste. Thanks for updating the forum post with the result :).

Tuan

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

  • Baptiste
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
10 years 4 months ago #54126 by Baptiste
Replied by Baptiste on topic Hide custom field in registration details
I went in the backend in order to see what change were made, thinking it was in the message field parameters, but it wasn't. Can you just tell me what has been modified ? (in case of a further update or a missconfiguration, i don't want to ask you to remake the change!)

Thank you!

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

More
10 years 4 months ago #54135 by Maxime
I'm interested too ! Hi have (a lot of) headings and messages showing in email confirmation that i'd like to hide... Any suggestion?

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

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
10 years 4 months ago #54202 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic [Solved] Hide custom field in registration details
Hi Maxime

The short answer is you will have to edit the code. Depend on the registration type you are using (individual/group/shopping cart...), you will need to edit different files. Please let me know what registration type you are using and I will guide you

Tuan

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

More
10 years 4 months ago #54204 by Maxime
Hi Tuan, I'm actually using individual registration.

Regards.

Maxime

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

  • Baptiste
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
10 years 4 months ago #54205 by Baptiste
Thank you for your answer Tuan. Just a little more question : How can you change the code with only administrator access? I didn't saw any coding area in Event booking Backend, and i didn't gave you ftp account...?

No security fear, just curiousity!

Thank you!

Baptiste

nb : If it's a coding change, what about EB further updates?

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

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
10 years 4 months ago #54206 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic [Solved] Hide custom field in registration details
@Baptiste: I use Pro-files component to edit files. We usually use that extension to edit code when needed instead of asking for FTP account.

@Maxime: Get this file, unzip it, upload to components/com_eventbooking/emailtemplates folder and check it again. It should work as expected.

If you look at the file, you will see that I added someline of code like this:

if (in_array($field->type, array('Message', 'Heading')))
{
continue;
}

If you want to exclude other field types, simply add it to the array

Tuan
Attachments:

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

Moderators: Tuan Pham Ngoc