Syntax:
LC:ISLOGGEDINAREA:Area 1:Area 2
Synopsis:
This tag is used in a template to create an area that changes from one area when a user is not logged in, to another area when the user is logged in. These are useful for login forms that get replaced with member info, or for special members-only menu items that should appear when a member is logged in.
Parameters:
Area 1 is an area that a member can see if they are logged in.
Usually, this area include " View/Edit my profilte, change password." A link for members to logout is also useful in this type of area.
Area 2 is what non-members see instead of area 1, or is shown when a member is logged out .
It can be used as a log-in form, a navigation link, or left blank.
For example: a website has an isloggedinarea in their template:
LC:ISLOGGEDINAREA:Member Area:Non-member Area
Member Area includes:
<ul>
<li class="nav-top"><a class="" href="">Home</a>
<ul class="nav-level2">
<li><a href="">Enroll </a></li>
<li><a href="/assnfe/cart.asp">View My Cart</a></li>
<li><a href="/assnfe/me.asp">Update My Profile</a></li>
<li><a href="/MemberEX.asp?MODE=CHANGE_PSWD">Change Password</a></li>
<li><a href="/CookieRedirect.asp?COKMODE=DESTROYCOOKIES">logout</a></li>
</ul>
</li>
</ul>
Non-member Area includes:
Login form:
<div>
<h3>Member Login</h3>
<form action="/Login.asp" method="post" name="Login_Form" id="Login_Form">
<input type="hidden" name="MODE" value="VALIDATELOGIN" />
<input type="hidden" name="SnID" value="" />
<input name="Login_UserID" type="text" class="UserID twelve" placeholder="Email" />
<input name="Login_Pswd" type="password" class="Password twelve" placeholder="Password" />
<input name="Login" type="submit" value="Login" class="button small" />
<span class="right"><a href="###"> Forgot Password?</a></span>
</form>
</div>
Comment Box
Leave a suggestion to help make our support site even better!