Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
Re: Add a user login box to the index page
I think you should describe what you want to do. Currently, if you go to the index page and you aren’t logged in, you are prompted to login.
Offline
#2 2006-02-27 23:14:09
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: Add a user login box to the index page
I think (he?) means a login box on his site’s front page.
Offline
Re: Add a user login box to the index page
I prefer the login page, but anyways…This is close, but I don’t think it’ll work:
<code>
<fieldset>
<legend>Log in to Textpattern</legend>
<form action=”/textpattern/index.php” method=“post”>
<p><label for=“name”>Name</label>
<input id=“name” type=“text” name=“p_userid” value=”“ class=“edit” /></p>
<p><label for=“pwd”>password</label>
<input id=“pwd” type=“password” name=“p_password” value=”“ class=“edit” /></p>
<p><input type=“submit” name=”“ value=“Log in” class=“publish” /></p>
</fieldset></code>
Offline
#4 2006-02-28 00:35:03
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: Add a user login box to the index page
> “This is close, but I don’t think it’ll work…”
It should.
Offline
Pages: 1