TNEW - Web Log In

Former Member
Former Member $organization

Hi - 

I am trying to change where the 'Log In' link goes on this page:https://www.stanfordlivetickets.org/account/login.aspx.

When someone goes on to our TNEW page, is shopping, clicks on the Login page, puts in their log-in information and clicks Log-In.  They are taken back to our website (non-TNEW) and we want them to stay in our TNEW site.  

 

Does anyone know where this lives in Tessitura?  I know the ContinueShopURL under LTR_TN_EXPRESS_WEB_CONTENT controls the 'Continue Shopping' button but does it also control this Log In button?

 

Any help would be appreciated! Thank you,

Beth

Parents
  • You are correct, the ContinueShopURL setting is also used as the default destination for the login button when the page is called on its own.

    However, you can use the ReturnUrl argument in your link to the login page to change this destination. For example, if I wanted my login page to redirect to the single ticket event listing after logging in, I would use this link to access the login page:

    https://tnew.example.com/account/login.aspx?ReturnUrl=%2fsingle%2fEventListing.aspx

    If you're trying to change the destination of a login page link that's being provided by TNEW itself, then things get a bit more complicated:

    My approach would probably be to put some jQuery into my template that replaces the TNEW-provided login page link with one that has the current page in the ReturnUrl argument, so that after logging in the user will always be redirected back to the page on which they clicked the "Login" button. This means get current page URL, encode it (changing / to %2f and the like), and then replacing the href value of the element with ID ucLoginWidget_lnk_login with the new link constructed with the ReturnUrl value. (Also of course adding this to your testing routine whenever upgrading TNEW versions.)

Reply
  • You are correct, the ContinueShopURL setting is also used as the default destination for the login button when the page is called on its own.

    However, you can use the ReturnUrl argument in your link to the login page to change this destination. For example, if I wanted my login page to redirect to the single ticket event listing after logging in, I would use this link to access the login page:

    https://tnew.example.com/account/login.aspx?ReturnUrl=%2fsingle%2fEventListing.aspx

    If you're trying to change the destination of a login page link that's being provided by TNEW itself, then things get a bit more complicated:

    My approach would probably be to put some jQuery into my template that replaces the TNEW-provided login page link with one that has the current page in the ReturnUrl argument, so that after logging in the user will always be redirected back to the page on which they clicked the "Login" button. This means get current page URL, encode it (changing / to %2f and the like), and then replacing the href value of the element with ID ucLoginWidget_lnk_login with the new link constructed with the ReturnUrl value. (Also of course adding this to your testing routine whenever upgrading TNEW versions.)

Children
No Data