How to address field(nth)

  • Andrea
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
9 years 10 months ago #80899 by Andrea
How to address field(nth) was created by Andrea
Allright, this may be a dumb one. But you'll have understood I've started using EB this week and by Saturday I will need to have a fully functional registration site so :D sorry for the many questions!

Assume you have a form that accepts group registrations. The Last names of the participants are collected and we have 10 people joining in the group.

Now, in my email messages to the group members, how I can say for example "Hello dear" <member-9th> in other words, how can I address the "n-th" field in a group registration ?

Thanks!!!!

Regards Andrea.

Visit my page! www.elementotango.it

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

More
9 years 10 months ago #80918 by Brian F
Replied by Brian F on topic How to address field(nth)
Are you needing to target a specific registrant number within the group registration, the 9th member of the group registration in this case; such as "Hello dear <member-9th>, you are the 9th registrant"? And the [FIRST_NAME] [LAST_NAME] tags not working as needed; such as "Hello dear [FIRST_NAME]"?

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

  • Andrea
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
9 years 10 months ago #80923 by Andrea
Replied by Andrea on topic How to address field(nth)
Hello Brian correct. Basically I don't know how to identify the 9th member for example. If I use [FIRST_NAME] how can the component know that I want to refer myself to the 9th one, specifically ?

Visit my page! www.elementotango.it

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

More
9 years 10 months ago #80927 by Brian F
Replied by Brian F on topic How to address field(nth)
Andrea, ah ok, Tuan may have an idea how to do that. In the admin email for a group registration (/components/com_eventbooking/view/emailtemplates/tmpl/email_group_detail.php) it lists each group member's submitted info starting around Line 280 of that file; Member 1 Information, Member 2 Information, etc, and maybe there's a way to include tidbits of that coding in the group member email (/components/com_eventbooking/view/emailtemplates/tmpl/email_group_member_detail.php) so that it'd pull each respective member registrant number to include in that email.

Sorry, wish I had a more direct answer, I'd have to play around with the email templates coding myself to see if that would work.
The following user(s) said Thank You: Tuan Pham Ngoc, Andrea

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

  • Andrea
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
9 years 10 months ago #80940 by Andrea
Replied by Andrea on topic How to address field(nth)
Brian, thank-you. I will start looking into what you mentioned in the php file and work from there! Thanks!!
Regards Andrea.

Visit my page! www.elementotango.it

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

More
9 years 10 months ago #80945 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic How to address field(nth)
The question is why you need it? Could you please give us more information about your requirement so that I can check to see whether there are a better way to change it? of course you will need to customize the code for sure

Tuan

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

Moderators: Tuan Pham Ngoc