[TYPO3-german] TypoScript OptionSplit: Problem mit Tabelle
Björn Pedersen
pedersen at frm2.tum.de
Mon Mar 28 14:01:14 CEST 2011
Hallo,
Danke and alle für die Tipps, jetzt habe ich es geknackt:
lib.multicolSubpageMenu {
special = directory
#special.value.field = pages
special.value=10
alternativeSortingField = title asc
1 = TMENU
1.itemArrayProcFunc = user_itemArrayProcFunc->user_sortuniqueMenuItemArray
1.stdWrap.wrap = <table class="contenttable"> |</table>
1.noBlur = 1
1.NO = 1
1.NO {
debug = 1
allStdWrap.wrap.cObject = TEXT
allStdWrap.wrap.cObject = CASE
allStdWrap.wrap.cObject {
key.cObject = TEXT
key.cObject.insertData = 1
key.cObject.value =({register:count_menuItems})%4
key.prioriCalc = intval
0 = TEXT
# passt
0.value = |*|<tr><td>a1|</td> || <td>b|</td> || <td>c\|</td> ||
<td>d|</td> </tr>|*|<tr><td>w1|</td> || <td>x1|</td> || <td>y1|</td> ||
<td>z1|</td> </tr>
# 3 leere Zellen
1 = TEXT
1.value = |*|<tr><td>a2|</td> || <td>b|</td> || <td>c|</td> ||
<td>d|</td>
</tr>|*|<tr><td>z2|</td><td>empty</td><td>empty</td><td>empty</td> </tr>
# 2 leere Zellen
2 = TEXT
2.value = |*|<tr><td>a3|</td> || <td>b|</td> || <td>b|</td> ||
<td>d|</td> </tr>|*|<tr><td>y3|</td> ||
<td>z3|</td><td>empty</td><td>empty</td> </tr>
# 1 leere Zelle
3 = TEXT
3.value = |*|<tr><td>a4|</td> || <td>b|</td> || <td>c|</td> ||
<td>d|</td> </tr>|*|<tr><td>x4|</td> || <td>y4|</td> ||
<td>z4|</td><td>empty</td> </tr>
}
}
}
Hauptpunkte:
allStdWrap.wrap.cObject statt allStdWrap.cObject
und http://bugs.typo3.org/view.php?id=18050
Björn
More information about the TYPO3-german
mailing list