View Single Post
  #148  
Old 12-05-2012, 10:09 AM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default Re: common if/then modifications I make to x-cart...

Thanks for the kudos.

If we need to pass special variables to login.php, we would need to do it in the same way by adding ?custom=yes or something like that.

I am not sure if this will work in your version, but it does in mine. I updated my test page linked above.
Code:
{if $login eq ''} If you have an account Please <a href="http://trainingpen.com/login.php" title="Sign in" onclick="javascript: return !popupOpen('login.php');">Sign in</a>! Or you have to register. Go here: <a href="register.php?custom=yes">Register</a> {else} You are registered and logged in! Congratulations! {/if}
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote