Login Page

  • 1
  • Question
  • Updated 7 years ago
  • Answered
Is it possible to create a login page before someone could enter a site?
Photo of Corey

Corey

  • 1 Post
  • 0 Reply Likes

Posted 7 years ago

  • 1
Photo of Sanja

Sanja, Official Rep

  • 10698 Posts
  • 495 Reply Likes
Hello Corey,

We do offer a password protection feature that may do the trick for you. Please take a look at this tutorial to see if this suits your needs: Adding Password Protection.
Photo of admin

admin

  • 3 Posts
  • 0 Reply Likes
Okay, hey! I'm new to the website. And I was wondering about the same function the other day. So I thought okay let me see what I can do in a few minutes. So here you go buddy.

Step1: Add HTML widget onto one of your pages and then paste the following into the box that opens:

Username

Please type your Username and Password...


                             
Username:
Remember
Me?
Password:

----------------------------------------------------------------------------------------------------------------
If you understand what is going on there. Then that's good! I hope this is what your looking for
Photo of admin

admin

  • 3 Posts
  • 0 Reply Likes
that failed this is what you need:



<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Username</title>
</head>

<body>

<html>
<head>
<title>Please type your Username and Password... </title>
<script language="JavaScript" type="text/JavaScript" src="login.js"></script>
</head>
<body bgcolor="#eeeeee">
<form>
<br>
<center>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Username: <input type="text" name="username" style="background:#bfbfbf;color:#212121;border-color:#212121;" onFocus="this.style.background = '#ffffff';" onBlur="this.style.background = '#bfbfbf';">
<input type="checkbox" name="C1" value="ON">Remember
Me?<br>
Password: <input type="password" name="password" style="background:#bfbfbf;color:#212121;border-color:#212121;" onFocus="this.style.background = '#ffffff';" onBlur="this.style.background = '#bfbfbf';">
<br>
<input type="button" value="Login" onClick="Login(this.form);" style="background:#bfbfbf;color:#000000;border-color:#212121;" onMouseOver="this.style.color = '#404040';" onMouseOut="this.style.color = '#000000';" onFocusr="this.style.color = '#404040';" onBlur="this.style.color = '#000000';"></center>
</form>
</body>
</html>

</body>

</html>