How to show the custom fields after the default rsvp fields?

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.
Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #1257139
    Frank
    Participant

    I’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?
    Thanks

    #1257824
    Geoff B.
    Member

    Good 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:

    1. /wp-content/plugins/event-tickets/src/views/tickets/rsvp.php
    2. /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.

     

    #1257860
    Frank
    Participant

    Hello 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

    #1258472
    Geoff B.
    Member

    Good 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:

    1. /wp-content/plugins/event-tickets-plus/src/views/meta.php
    2. /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.

    #1258524
    Frank
    Participant

    This reply is private.

    #1258525
    Frank
    Participant

    Hey 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,
    Frank

    #1259328
    Geoff B.
    Member

    Good 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.

    #1259390
    Frank
    Participant

    This reply is private.

    #1260057
    Geoff B.
    Member

    This reply is private.

    #1260378
    Frank
    Participant

    Hello 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,
    Frank

    #1263704
    Geoff B.
    Member

    Good 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.

    #1264437
    Geoff B.
    Member

    Good 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.

    #1265811
    Frank
    Participant

    Hey 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

    #1266054
    Geoff B.
    Member

    Good 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.

Viewing 14 posts - 1 through 14 (of 14 total)
  • The topic ‘How to show the custom fields after the default rsvp fields?’ is closed to new replies.