Liebe Community, gleich mal vorneweg: Ich bin ein Amateur und betreibe nebenher 
eine Seite seit ein paar Jahren. Die Untiefen von Typo3 sind mir nicht 
vollstaendig klar und ich mache wahrscheinlich einen trivialen Fehler. Es waere 
trotzdem super, wenn ihr mir helfen koenntet.

Mir ist bewusst, dass bereits andere Fragen zu felogin unter Typo3 6.2 hier im 
Forum existieren, ich konnte aber keine Loesung fuer mein Problem finden. Unter 
Typo3 4.5 hat folgender Template-Schnipsel funktioniert, unter 6.2 ist der 
Login jetzt leider nicht mehr moeglich. Die Seite ist zweisprachig, die 
Frontent-User sind unter der PID 30 gespeichert.

Ich waere sehr dankbar, wenn mir jemand helfen koennte. Wahrscheinlich ist 
meine Loesung ohnehin viel zu umstaendlich...

Beste Gruesse und schon mal vielen Dank!
Steindaube.


##### LOGOUT
temp.url = TEXT
temp.url.typolink.parameter.field = uid
temp.url.typolink.returnLast = url
[usergroup = *]
temp.logout = COA
temp.logout {
 10 = TEXT
 10.value = <div class="login"> <form action="
 20 < temp.url
 30 = TEXT
 30.value (
     " method="post">
       <fieldset id="loginFieldset">
         <input class="submit" type="submit" style="margin-top:48px" 
value="Logout" />
         <input type="hidden" name="logintype" value="logout" />
       </fieldset>
     </form>
   </div>
 )
}
[global]



##### LOGIN #####
# LOGIN - Englisch:
temp.login = COA
temp.login {
 10 = TEXT
 10.value = <div class="login"> <form action="
 20 < temp.url
 30 = TEXT
}
[globalVar = GP:L = 2]
temp.login {
 30.value = Help
 30.typolink.parameter = 23 _no headhelp
 30.wrap (
   " method="post" >
     <fieldset id="loginFieldset">
       <input name="user" class="user" type="text" title="Benutzer" value="Username" onfocus="if 
(this.value==this.defaultValue) this.value=''" size="13" />
<input name="pass" class="pw" type="password" title="Passwort" value="*****" onfocus="if (this.value==this.defaultValue) this.value=''" size="13" /> <input type="hidden" name="logintype" value="login" /> <input type="hidden" name="pid" value="30" />
       <input class="submit" name="image" type="submit" value="Login" 
title="Login" />
       |
</fieldset> </form>
 </div>
 )
}
# LOGIN - Deutsch:
[else]
temp.login {
 30.value = Hilfe
 30.typolink.parameter = 23 _self headhelp
 30.wrap (
   " method="post" >
     <fieldset id="loginFieldset">
       <input name="user" class="user" type="text" title="Benutzer" value="Benutzer" onfocus="if 
(this.value==this.defaultValue) this.value=''" size="13" />
<input name="pass" class="pw" type="password" title="Passwort" value="*****" onfocus="if (this.value==this.defaultValue) this.value=''" size="13" /> <input type="hidden" name="logintype" value="login" /> <input type="hidden" name="pid" value="30" />
       <input class="submit" name="image" type="submit" value="Login" 
title="Login" />|
</fieldset> </form>
 </div>
 )
}
[global]

_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german

Antwort per Email an