WCM Forum

WCM Forum (http://www.wcm.at/forum/index.php)
-   Programmierung (http://www.wcm.at/forum/forumdisplay.php?f=17)
-   -   Typo3 Problem mit Template (http://www.wcm.at/forum/showthread.php?t=195057)

zAPPEL 11.07.2006 12:37

Typo3 Problem mit Template
 
Hallo,

bin Typo3-Newbie und habe ein Problem, evt. kennt sich hier ja jemand gut genug mit Typo3 aus :-)
Ich habe auf einer Homepage ein Login-Formular das ich so einbette:
Code:

LOGIN < tt_content.login.20
Das funktioniert auch soweit, allerdings möchte ich es ohne Table ausgeben weswegen ich tt_content.login.20 verändere:

Code:

tt_content.login.20.hiddenFields.pid.value = 21
tt_content.login.20.redirect = 28
tt_content.login.20.stdWrap.wrap = Mein Login

tt_content.login.20.layout = ###LABEL### ###FIELD###
tt_content.login.20.labelWrap.wrap =
tt_content.login.20.dataArray.10.label.data >
tt_content.login.20.dataArray.20.label.data >
tt_content.login.20.dataArray.10.label = Mitglied
tt_content.login.20.dataArray.20.label = Passwort
tt_content.login.20.commentWrap.wrap =
tt_content.login.20.REQ.labelWrap.wrap =
tt_content.login.20.COMMENT >
tt_content.login.20.COMMENT.layout = <span></span>
tt_content.login.20.badMess = Pflichtfelder ausfüllen:

Das übernimmt er mir allerdings nicht ins Frontend, ich bekomme dort trotzdem den Login-Table. Im Objekt Browser sieht man aber meine Änderungen (siehe Attachement) Cache habe ich jetzt schon ein paarmal gelöscht.

Irgendjemand eine Idee woran das liegt?

lg zAPPEL

jak 11.07.2006 15:35

Code:

LOGIN < tt_content.login.20
Mit '<' kopierst du das Objekt.
Meine Vermutung ist daher, daß du deine Änderungen nach dem kopieren durchführst. Daher wirken sie sich nicht auf das LOGIN Objekt aus. Lösung: Entweder erst am Schluß kopieren oder eine Referenz ('=<') benutzen:
Code:

LOGIN = < tt_content.login.20
jak

zAPPEL 11.07.2006 15:49

Juhu.. vielen Dank, jetzt funktioniert es :-) (War schon ziemlich ratlos) :-)


Alle Zeitangaben in WEZ +2. Es ist jetzt 14:54 Uhr.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© 2009 FSL Verlag