Jump to content
  • 0

[Request] How to put Log In Box


pojiejapan

Question


  • Group:  Members
  • Topic Count:  37
  • Topics Per Day:  0.01
  • Content Count:  126
  • Reputation:   6
  • Joined:  11/18/11
  • Last Seen:  

Hello fellas and senior, I just made a website (actually not made it myself, I just have a free template and alter it a bit)

I just changed the design, position and etc. (still new to HTML and CSS thing )

The problem is the free template don't have a Login Box.

LogInbox.gif

Is there any way I can put into that box a

ID and a Pass box and also

Login,Forgot Password link. Please in advance seniorey

Link to comment
Share on other sites

6 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  47
  • Topics Per Day:  0.01
  • Content Count:  633
  • Reputation:   78
  • Joined:  11/14/11
  • Last Seen:  

What Control Panel you use?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  47
  • Topics Per Day:  0.01
  • Content Count:  633
  • Reputation:   78
  • Joined:  11/14/11
  • Last Seen:  

This is the Code for the login

<?php if(!$session->isLoggedIn()){
//If the user is not log in the CP
//Display the login form
?>
<form action="<?php echo $this->url('account', 'login', array('return_url' => $params->get('return_url'))) ?>" method="post">
<input type="hidden" name="server" value="<?php echo htmlspecialchars($session->loginAthenaGroup->serverName) ?>">

<input type="text" placeholder="Enter Username"  name="username" id="login_username"/>
<input type="password" name="password" id="login_password" placeholder="Enter Password" />
<input type="submit" value="Login"/>
</form>
<?php } else {
//If the user is loggedin the server
?>

<a href="index.php?module=account&action=view">My Account</a>
<a href="index.php?module=history">History</a>
<a href="index.php?module=account&action=logout">Logout</a>
<?php } ?>

Edited by JayPeeMateo
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  37
  • Topics Per Day:  0.01
  • Content Count:  126
  • Reputation:   6
  • Joined:  11/18/11
  • Last Seen:  

Err. How do I put the box there sir?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  47
  • Topics Per Day:  0.01
  • Content Count:  633
  • Reputation:   78
  • Joined:  11/14/11
  • Last Seen:  

You need to find it using a Text editor i recommend Notepad++ and find that portion in the code

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  37
  • Topics Per Day:  0.01
  • Content Count:  126
  • Reputation:   6
  • Joined:  11/18/11
  • Last Seen:  

Ah Im lost, nevermind sir, thank you so much for your fast help sir.

  • Upvote 1
Link to comment
Share on other sites

×
×
  • Create New...