Login Status
  • 31 Mar 2023
  • 1 Minute to read
  • Dark
    Light
  • PDF

Login Status

  • Dark
    Light
  • PDF

Article summary

The Login Status widget shows a visitor to your site if logged in and provides links to log in, log out, and to their profile page.

Output:

Remote Tools Install:

To get remote tools working, follow the steps below. If you already use remote tools for another widget, skip to the next set of instructions. 


1. Call in jQuery at the top of your page if you are not already
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
2. Call in the Vin65 Remote Widget script at the bottom of your page.
<script type="text/javascript" src="https://assetss3.vin65.com/js/vin65remotetools.1.2.js"></script>
3. Call the Vin65 Cart Init function below the remotetools script to initialize and load the required libraries.
<script type="text/javascript">vin65remote.cart.init('https://generic.vin65.com',0);</script>

Login Status Install:

1. Add the Login Status script underneath the Vin65 Remote Widget script. Make sure you put your website address in place of http://generic.vin65.com
<script type="text/javascript">vin65remote.usertools.loginWidget('https://generic.vin65.com');</script>

2. Insert a special div on the page where you want the Login status to appear.
<div v65remotejs="loginWidget"></div>

Was this article helpful?