Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-02-27 23:08:03

ramanan
Plugin Author
From: Toronto
Registered: 2004-03-12
Posts: 323
Website

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

#3 2006-02-28 00:15:04

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

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

Board footer

Powered by FluxBB