Das Loginform Inhaltselement
Eine Formatierungsmöglichkeit für das TYPO3 enthaltene Login Formular.
tt_content.login.20.stdWrap.wrap = <table width="180px" height="140px" align="center" bgcolor="white" cellspacing="0" border="0" style="border:2px solid black; margin-top:150px; padding:5px 5px 5px 5px; text-align:center;">|</table>
tt_content.login.20.layout = <tr><td style="padding:0px;margin:0px;" class=untertitel>###LABEL###<br>###FIELD###</td></tr>
tt_content.login.20.REQ.labelWrap.wrap = |
[loginUser=*]
tt_content.login.20 {
hiddenFields.pid.value =265
dataArray.10 >
dataArray.20 >
stdWrap.wrap = |
}
tt_content.login.20.stdWrap.wrap = <table width="180px" height="140px" align="center" bgcolor="transparent" cellspacing="0" border="0" style="border:2px solid black; margin-top:150px; padding:5px 5px 5px 5px; text-align:center;">|</table>
tt_content.login.20.layout = <tr><td style="padding:0px;margin:0px;" class=untertitel>###LABEL###<br>###FIELD###</td></tr>
tt_content.login.20.REQ.labelWrap.wrap = |
[end]
...ins Setup des TS Template
lib.topNavi = RECORDS
lib.topNavi {
tables = tt_content
source = 1126
dontCheckPid = 1
}
Einzelnen Datensatz anbinden
lib.randomContent = COA_INT
lib.randomContent {
10 = CONTENT
10 {
table = tt_content
select {
# ID der Seitte wo die content Elemente gespeichert sind
pidInList = 30
# Wieviele Elemente angezeigt werden sollen
max = 2
orderBy = rand()
}
}
Zufälliges Inhaltselement
marks.MARKER = CONTENT
marks.MARKER {
table = tt_content
select.orderBy = sorting
select.where = colPos = 3
slide = -1
#wrappen wäre möglich
#renderObj.stdWrap.wrap = |
}
Den Inhaltsbereich anbinden (ohne TemplaVoila)
War das Ihnen eine Hilfe? ein "LIKE" wäre ein tolles "Dankeschön"