• Resolved denso

    (@denso)


    Hi there,
    I wonder if it possible to have in the event’s pages a registration button pointing to a custom registration page with the form?

    Thanks in advance

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author roundupwp

    (@roundupwp)

    Hey Denso,

    Yes this would be possible with some custom Javascript and adding the shortcode that creates a registration form to a page template. Are you comfortable creating or editing page templates for your theme?

    Otherwise I have an idea that will make this easier. There is an update coming out soon and I will include it there.

    Thread Starter denso

    (@denso)

    I could try to create or edit a page template.
    Otherwise I can also wait for the update.
    I’m not in a hurry

    Thanks

    Plugin Author roundupwp

    (@roundupwp)

    Hey again Denso,

    Quick note: This is for version 2.0 or higher

    Just in case you were still interested (and others might be), to create a separate registration page, first create a new page or add the shortcode to your existing separate registration page.

    [rtec-registration-form hidden=false showheader=true]

    Be sure to leave off the “event=” setting. Instead you will add a query parameter in your link that the shortcode will use.

    Then add this to the “Custom JavaScript” area on the “Form” tab:

    var rtecEvent = jQuery('.rtec').attr('data-event');
    
    if (typeof rtecEvent !== 'undefined') {
      jQuery('.single-tribe_events .rtec-register-button').replaceWith('<a href="https://mywebsite.com/registration-page/?event_id='+rtecEvent+'"><button type="button" id="rtec-form-toggle-button" class="rtec-register-button rtec-js-show rtec-custom-hover" style="display: inline-block;">Register<span class="tribe-bar-toggle-arrow"></span></button></a>');
    }

    Make sure you change the “https://mywebsite.com/registration-page/&#8221; part of the code to your actual registration page’s address.

    Now when a visitor clicks the registration button on the event page, they will be linked to the registration page that will work with the event.

    Plugin Author roundupwp

    (@roundupwp)

    I’m going to mark this as resolved for now but feel free to post questions if you have them!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Registration page’ is closed to new replies.