Zum Inhalt springen

redirect_url bei feuserlogin will nicht

Erstellt am 1. Februar 2006 · Noch keine Antworten

Tags: felogin, Frage

Wookkie ·

Hallo,
ich habe mittels ts die loginbox wie folgt umgeschrieben.
Leider wird nach erfolgreichem Login kein redirect auf index.php?id=21 vorgenommen.
Wie kann ich das erreichen?

[usergroup = *]
    temp.loginform = COA
    temp.loginform.10 = TEXT
    temp.loginform.10.data  = TSFE : id
    temp.loginform.10.wrap (

 <form action="index.php?id= | " method="post">
 	<div class="loginbox">

 <input type="hidden" name="logintype" value="logout" />
 )
    temp.loginform.20 = TEXT
    temp.loginform.20.value (
 Angemeldet als: Wookkie<br />
 <input class="submit" type="submit" title="Logout" value="Logout" />

 	</div>
 </form>

 )
 [else]
    temp.loginform = TEXT
    temp.loginform.data  = TSFE : id
    temp.loginform.wrap (

 <form action="index.php?id= | " method="post">
  <div class="loginbox">
  		<h3>Apotheker Login</h3>
<input type="hidden" name="redirect_url" value="index.php?id=21" />

 <input type="hidden" name="logintype" value="login" />
 <input type="hidden" name="pid" value="46" />
<div class="label">Name:</div>
 <input style="width: 110px;" name="user" type="text" id="user" title="Login" value="Login" onfocus="if (this.value == 'Login') this.value = '';" /><br />
		<div class="label">Kennwort:</div>
 <input style="width: 110px;" name="pass" type="password" id="pass" title="Password" value="Password" onfocus="if (this.value == 'Password') this.value = '';" /><br />
		<div class="button">
<input type="image" src="img/button_submit.gif" class="submit" name="submit" title="Login" value="Login" />
 </div> 

 </form>
 </div>
 )
 [global]
 page.10.subparts.LOGIN < temp.loginform