- Posts: 238
- Thank you received: 4
Custom fields in fields.xml: Show them in email to user
- Patrick
-
Topic Author
- Offline
- Elite Member
-
Less
More
6 years 11 months ago - 6 years 11 months ago #124476
by Patrick
Custom fields in fields.xml: Show them in email to user was created by Patrick
Hi
I have set up two custom fields in fields.xml:
field_info1 and field_info2
Is it possible to show their value in the confirmation email that gets sent to the user who registers for an event?
Thanks a lot.
Regards
Patrick
I have set up two custom fields in fields.xml:
field_info1 and field_info2
Is it possible to show their value in the confirmation email that gets sent to the user who registers for an event?
Thanks a lot.
Regards
Patrick
Last edit: 6 years 11 months ago by Patrick.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
6 years 11 months ago #124477
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Custom fields in fields.xml: Show them in email to user
Hi Patrick
Try to edit the email message which is sent to registrants when they register for your event and use the syntax [NAME_OF_FIELD_IN_UPPERCASE]. For example [FIELD_INFO1] , [FIELD_INFO2]... and the value of the fields will be sent to registrants via email
Regards,
Tuan
Try to edit the email message which is sent to registrants when they register for your event and use the syntax [NAME_OF_FIELD_IN_UPPERCASE]. For example [FIELD_INFO1] , [FIELD_INFO2]... and the value of the fields will be sent to registrants via email
Regards,
Tuan
Please Log in or Create an account to join the conversation.
- Patrick
-
Topic Author
- Offline
- Elite Member
-
Less
More
- Posts: 238
- Thank you received: 4
6 years 11 months ago #124482
by Patrick
Replied by Patrick on topic Custom fields in fields.xml: Show them in email to user
Hi Tuan
Thanks a lot!
I was wrong, I need it in Short Description and short description gets loaded into email. But your solution works fine in short description
Now I need it in event long description as well. So I added [FIELD_INFO1] , [FIELD_INFO2] there. But in frontend the value of these fields is not shown, only the code [FIELD_INFO1], [FIELD_INFO2].
How can I add the value of the custom fields there?
Thank you very much.
Regards
Patrick
Thanks a lot!
I was wrong, I need it in Short Description and short description gets loaded into email. But your solution works fine in short description
Now I need it in event long description as well. So I added [FIELD_INFO1] , [FIELD_INFO2] there. But in frontend the value of these fields is not shown, only the code [FIELD_INFO1], [FIELD_INFO2].
How can I add the value of the custom fields there?
Thank you very much.
Regards
Patrick
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
6 years 11 months ago #124494
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Custom fields in fields.xml: Show them in email to user
Event Long description? Mean you want these value to be shown on the long description on event details page?
Tuan
Tuan
Please Log in or Create an account to join the conversation.
- Patrick
-
Topic Author
- Offline
- Elite Member
-
Less
More
- Posts: 238
- Thank you received: 4
6 years 11 months ago #124497
by Patrick
Replied by Patrick on topic Custom fields in fields.xml: Show them in email to user
Hi Tuan
Yes, that is what I'm looking for. The textarea labeled "Description"..
Thanks.
Patrick
Yes, that is what I'm looking for. The textarea labeled "Description"..
Thanks.
Patrick
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
6 years 11 months ago #124518
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Custom fields in fields.xml: Show them in email to user
Hello Patrick
Honestly, I don't know how it works for short description but not on description.
Could you please send me the link to the page:
- Show me that it works for short description
- Show me that it does not work for description
Hopefully, I will understand the actual requirement and come up with a solution
Regards,
Tuan
Honestly, I don't know how it works for short description but not on description.
Could you please send me the link to the page:
- Show me that it works for short description
- Show me that it does not work for description
Hopefully, I will understand the actual requirement and come up with a solution
Regards,
Tuan
Please Log in or Create an account to join the conversation.
- Patrick
-
Topic Author
- Offline
- Elite Member
-
Less
More
- Posts: 238
- Thank you received: 4
6 years 11 months ago - 6 years 11 months ago #124521
by Patrick
Replied by Patrick on topic Custom fields in fields.xml: Show them in email to user
Hello Tuan
There is no direct link to an event page showing the short description because the situation is a bit different:
I added [FIELD_INFO1] into short description of the event.
In settings for "Email & Messages" > "Registration Email Messages" > "User email body" I use [SHORT_DESCRIPTION] to show short description in confirmation email to user.
After the user has registered for an event, a confirmation page is shown to him and he receives the confirmation email. Both, confirmation page and email show short description including value of [FIELD_INFO1].
Thank you.
Patrick
There is no direct link to an event page showing the short description because the situation is a bit different:
I added [FIELD_INFO1] into short description of the event.
In settings for "Email & Messages" > "Registration Email Messages" > "User email body" I use [SHORT_DESCRIPTION] to show short description in confirmation email to user.
After the user has registered for an event, a confirmation page is shown to him and he receives the confirmation email. Both, confirmation page and email show short description including value of [FIELD_INFO1].
Thank you.
Patrick
Last edit: 6 years 11 months ago by Patrick.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
6 years 11 months ago #124526
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Custom fields in fields.xml: Show them in email to user
So to be more clear, you are saying that when you use [DESCRIPTION] tag which contains name of custom fields, it's not being replaced in the email?
As I can see, and check the code, it should work for both short description and description
Regards,
Tuan
As I can see, and check the code, it should work for both short description and description
Regards,
Tuan
Please Log in or Create an account to join the conversation.
- Patrick
-
Topic Author
- Offline
- Elite Member
-
Less
More
- Posts: 238
- Thank you received: 4
6 years 11 months ago #124535
by Patrick
Replied by Patrick on topic Custom fields in fields.xml: Show them in email to user
I have setup an online demo and will send you an email with login data to your services mail address.
I think it's easier if you can see it in the demo.
Regards
Patrick
I think it's easier if you can see it in the demo.
Regards
Patrick
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
6 years 11 months ago #124539
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Custom fields in fields.xml: Show them in email to user
Hi Patrick
The short answer is we don't support it. The custom fields are displayed on the page already, so showing it again in description will cause duplicate information displayed
Anyway, I modified code to support it as I don't really understand your requirement. You can access to My Downloads menu item, download latest package, upgrade it to your site and it will work well
Tuan
The short answer is we don't support it. The custom fields are displayed on the page already, so showing it again in description will cause duplicate information displayed
Anyway, I modified code to support it as I don't really understand your requirement. You can access to My Downloads menu item, download latest package, upgrade it to your site and it will work well
Tuan
The following user(s) said Thank You: Patrick
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
Support
Documentation
Information
Copyright © 2026 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.