Home › Forums › Ticket Products › Event Tickets Plus › Use My-Account Page to Login
- This topic has 3 replies, 2 voices, and was last updated 7 years, 7 months ago by
Andras.
-
AuthorPosts
-
September 20, 2018 at 10:44 am #1626696
leeuniversity
ParticipantI 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.
September 21, 2018 at 8:37 am #1627490Andras
KeymasterHi 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/’ but I think it’s not needed.
Let me know if this does the trick.
Cheers,
AndrasSeptember 21, 2018 at 8:07 pm #1628082leeuniversity
ParticipantThat 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!
September 24, 2018 at 2:50 am #1628904Andras
KeymasterHey, 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,
AndrasOctober 16, 2018 at 9:35 am #1643792Support Droid
KeymasterHey 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 -
AuthorPosts
- The topic ‘Use My-Account Page to Login’ is closed to new replies.
