Hallo liebe Typo3-Gemeinde!
Vielleicht hab ich irgendwas vergessen oder ich weiß einen "Trick" einfach nicht. Aber vielleicht kennt einer von euch einen...
Ich habe folgenden Code als Login in meinem Template (d.h. Setup im Template)
<SCHNIP>
[else]
temp.loginForm = TEXT
#temp.loginForm.data = TSFE : id
temp.loginForm.insertData = 1
temp.loginForm.value (
<form action="index.php?id=29" method="post" name="FormName">
<table width="170" border="0" cellspacing="0" cellpadding="0">
<tr><td style="border:1px solid #5A6E82; background-color: #3C5064; color: #DCDCF0; font-family: Verdana; font-size: 9px"> kundenlogin </td></tr>
<tr><td style="border-bottom:1px solid #5A6E82;border-left:1px solid #5A6E82;border-right:1px solid #5A6E82;" colspan="2">
<table border="0" cellspacing="0">
<tr><td style="color: #3C5064; font-family: Verdana; font-size: 10px"> Kunden-ID:</td><td><input name="user" type="text" id="user" title="Benutzername" onfocus="if (this.value==this.defaultValue) this.value=''" value="" style="height:20; width:90; background-color:#FFFFFF; border:solid 1px #A0A0A0; font-size:10px;"></td></tr>
<tr><td style="color: #3C5064; font-family: Verdana; font-size: 10px;"> Passwort:</td><td><input name="pass" type="password" id="pass" title="Passwort" onfocus="if (this.value==this.defaultValue) this.value=''" value="" style="height:20; width:90; background-color:#FFFFFF; border:solid 1px #A0A0A0; font-size:10px;" ></td></tr>
<tr><td style="color: #3C5064; font-family: Verdana; font-size: 10px;" colspan="2" align="right"><input type="submit" name="submit" title="Abmelden" value="login" style="height:20; width:50; border:solid 1px #A0A0A0; background-color:#FFFFFF; font-size:9px;"></td></tr>
</table>
</td></tr>
</table>
<input type="hidden" name="logintype" value="login">
<input type="hidden" name="redirect_url" value="index.php?id=31">
<input type="hidden" name="pid" value="27">
</form>
)
[global]
<SCHNAP>
Wenn ich mich einlogge (egal ob richtig oder falsch oder was auch immer), ich lande immer auf der Seite ID 29. Nach dem korrekten Login soll er aber auf die Seite ID 31 hopsen (daher auch das redirect_url). Macht er aber nicht, ich lande immer auf ID 29.
Vielleicht ne Info die wichtig ist: Ich habe Typo 3.5.0 (hab nen Update auf 3.6.0 irgendwie noch nicht hinbekommen, aber das wär nen andere Thread 😃 ).
Kann mir da jemand helfen bzw. mir meinen Fehler zeigen?