Home › Forums › Ticket Products › Event Tickets Plus › How to show the custom fields after the default rsvp fields?
- This topic has 14 replies, 2 voices, and was last updated 9 years ago by
Frank.
-
AuthorPosts
-
March 21, 2017 at 1:39 am #1257139
Frank
ParticipantI’m currently struggling to rearrange my rsvp registration form. I want the additional fields I made to show AFTER the default rsvp fields (full name and email). Could you point me to the correct file for this?
ThanksMarch 21, 2017 at 10:42 pm #1257824Geoff B.
MemberGood evening Frank and welcome back!
Thank you for reaching out to us.
I would love to help you with this topic.As a first troubleshooting step, could you please provide us with your complete system information in a private reply using the instructions found in the following link?
https://theeventscalendar.com/knowledgebase/sharing-sys-info/
I believe you can achieve exactly what you are looking for by performing a template (view) customization.
You might want to read our Themer’s guide to get a sense of how that works.
Essentially, you will want to take a look at:
- /wp-content/plugins/event-tickets/src/views/tickets/rsvp.php
- /wp-content/plugins/event-tickets-plus/src/views/wootickets/tickets.php (although I will need your system information to confirm this second file).
Let me know if that helps.
Have a great day!
Geoff B.
March 22, 2017 at 12:23 am #1257860Frank
ParticipantHello Geoff,
thanks for the quick reply. I already use the rsvp.php file in my child theme, so I’m a little familiar with the theming of the events calendar. For the second file you mentioned, I don’t use Woocommerce to sell the tickets, I only use RSVP for now.
I just can’t seem to find the correct spot in rsvp.php to move the whole “tribe-event-tickets-plus-meta-fields” after the full name and the email within “tribe-tickets-table”.
I activated sharing of system information in my backend.
Thanks
March 22, 2017 at 11:07 pm #1258472Geoff B.
MemberGood evening Frank,
Thank you for writing back.
It seems like the system information did not make it through, unfortunately.
Could you please paste it in a private reply for now ?That being said, there are 2 places that might enable you to tweak the display:
- /wp-content/plugins/event-tickets-plus/src/views/meta.php
- /the-events-calendar/vendor/tickets/src/views/tickets/rsvp.php
Simply moving elements around should cut it.
Let me know how that goes.
Best regards,
Geoff B.March 23, 2017 at 1:18 am #1258524Frank
ParticipantThis reply is private.
March 23, 2017 at 1:21 am #1258525Frank
ParticipantHey Geoff, please see the system information I sent you privately.
I already looked at these two files, especially the rsvp.php. But moving around blocks in there doesn’t seem to have an effect on the actual form output. If I remove parts, they don’t appear, so my theming takes effect. But rearranging blocks doesn’t change anything. The only thing I am able to change is the order of the Full Name and the email input fields. But the Meta stuff always gets injected above these two fields, no matter what I try.
Best,
FrankMarch 23, 2017 at 9:20 pm #1259328Geoff B.
MemberGood evening Frank,
You might have to tweak it a bit, but the following works (although it sends the info below the RSVP button).
Simply unzip the file and drop it in your /tribe-events/ folder : tickets
Let me know if that helps.
Have a great day!
Geoff B.
March 24, 2017 at 12:39 am #1259390Frank
ParticipantThis reply is private.
March 25, 2017 at 10:27 am #1260057Geoff B.
MemberThis reply is private.
March 27, 2017 at 7:55 am #1260378Frank
ParticipantHello Geoff,
I tried your code and it works exactly like in your screenshot, even without removing my other customisations. But obviously I need the “Book” button below all else, otherwise it will be confusing for the users, agreed?
Best,
FrankApril 3, 2017 at 8:34 pm #1263704Geoff B.
MemberGood evening Frank,
Sorry for the late reply.
As you might have seen, unfortunately our team, including myself, was away for our annual team retreat last week.
I apologize for the delay this has caused.
I am glad that you were able to make some progress even though the customization still needs to be tweaked further.Just to set expectations, as you might know, the scope of our support is mostly to get our customers started on the right track and to help them in case of issues.
We unfortunately do not provide complete support for customization.
With that in mind, the goal is to move the following action hook around:
do_action( 'event_tickets_rsvp_after_ticket_row', tribe_events_get_ticket_event( $ticket->id ), $ticket );As you have already seen, you might not be able to simply copy-paste the current code depending on where you want to move it to.
I can’t promise anything, but I will absolutely ask our coding ninjas to see if they can’t provide you with the proper structure to do just that.
Hang in there,
Geoff B.April 4, 2017 at 3:07 pm #1264437Geoff B.
MemberGood evening Frank,
As promised, I followed up with our UX team and they were able to craft a template customization that does precisely what you are looking for.
Check it out: rsvp-v2.php
Let me know how that goes.
Best regards,
Geoff B.April 6, 2017 at 5:33 am #1265811Frank
ParticipantHey Geoff,
yup, the file you sent works just perfect, a few minimal customisations and I had exactly what I wanted!
Thank you very much for your patience and effort. Great customer support, appreciate it!Cheers,
Frank
April 6, 2017 at 10:15 am #1266054Geoff B.
MemberGood afternoon Frank,
I am super stoked that this worked for you.
You are welcome back in our support forums any time 🙂
For now, I am going to close this thread.
Have a great week!
Geoff B.
-
AuthorPosts
- The topic ‘How to show the custom fields after the default rsvp fields?’ is closed to new replies.
