Thanks KK.. Yeah kind of the answer I was looking for..
Although what I really need is..
Ive created my own custom login form for members, what I would like to do is setup authenticated users in couchcms (which I have done) and then be able to use those details as logins for the custom designed form.
I have used the below login form but it still sends the user to the admin area to login then back again
- Code: Select all
<form name="frm_login" action="<cms:show k_login_link />" method="post">
<input type="hidden" name="url_hash" value="">
<div class="control-group">
<div class="controls">
<input type="text" id="k_user_name" name="k_user_name" class="input-xlarge" placeholder="Username">
</div>
</div>
<div class="control-group">
<div class="controls">
<input type="password" id="k_user_pwd" name="k_user_pwd" class="input-xlarge" placeholder="Password">
</div>
</div>
<div class="control-group">
<div class="controls">
<button type="submit" name="k_login">Sign In</button>
</div>
</div>
</form>
Is there a way to use the credentials without the couchcms login, then the redirect be to another page?? lets say members.php?
Hopefully this makes a little more sense.