Use My-Account Page to Login

Home Forums Ticket Products Event Tickets Plus Use My-Account Page to Login

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1626696
    leeuniversity
    Participant

    I would like to use the My Account page at https://www.leeucentennial.com/my-account/ for registering and logging into an account. However, the Login to RSVP link goes to http://www.leeucentennial.com/wp-login.php. Is there a way to change the link to go to the My Account login page. I’ve included a screen shot of the RSVP.

    #1627490
    Andras
    Keymaster

    Hi there,

    Thanks for reaching out!

    That is a superb question!

    In order to do that you will need to create a template override.

    You need to override this file:

    wp-content/plugins/event-tickets/src/views/tickets/rsvp.php

    make a copy here:

    wp-content/[your-theme]/tribe-events/tickets/rsvp.php

    You will need to modify line 210. It looks like this:

    [code language=”php”]
    <a href="<?php echo esc_url( Tribe__Tickets__Tickets::get_login_url() ); ?>">
    [/code]

    And change it to:

    [code language=”php”]
    <a href="my-account/">
    [/code]

    I believe that should do it. If for some case that wouldn’t work, put there the whole url ‘https://www.leeucentennial.com/my-account/&#8217; but I think it’s not needed.

    Let me know if this does the trick.

    Cheers,
    Andras

    #1628082
    leeuniversity
    Participant

    That worked. However, I need the same thing for the Ticket Purchase. I tried to decipher the code to find what needed to be changed, but have been unsuccessful. Can you help with Login to Purchase pointing to /my-account/ please?

    thanks!

    #1628904
    Andras
    Keymaster

    Hey, sure.

    Same thing needs to be done with this file:

    wp-content/plugins/event-tickets-plus/src/views/login-to-purchase.php

    Create a copy here:

    wp-content/[your-theme]/tribe-events/login-to-purchase.php

    And do a similar change.

    Let me know.

    Cheers,
    Andras

    #1643792
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Use My-Account Page to Login’ is closed to new replies.