[TYPO3-german] Anzahl der Unterseiten ermitteln
Chi Hoang
chibo at gmx.de
Thu Feb 23 14:04:33 CET 2006
JoH schrieb:
> temp.mymenu = HMENU
> temp.mymenu {
> 1 = TMENU
> 1 {
> wrap = <ul>|</ul>
> NO = 1
> NO {
> allWrap = <li class="keine">|</li>
> }
> }
> IFSUB = 1
> IFSUB {
> wrapItemAndSub = |</li>
> allWrap.cObject = COA
> allWrap.cObject {
> 10 = TEXT
> 10.value = <li class="nurEine">|
> 10.if.value = 1
> 10.if.equals.numRows {
> table = pages
> select {
> pidInList.field = uid
> }
> }
> 20 = TEXT
> 20.value = <li class="mehrere">|
> 20.if.negate = 1
> 20.if.value = 1
> 20.if.equals.numRows {
> table = pages
> select {
> pidInList.field = uid
> }
> }
> }
> }
> }
> 2 < .1
> 3 < .1
> }
Das hier geht nicht:
lib.HauptMenu = HMENU
lib.HauptMenu.1 = GMENU_LAYERS
lib.HauptMenu.1 {
NO {
allWrap.cObject = COA
allWrap.cObject {
10 = TEXT
10.value = <td
background="fileadmin/Templates/layoutdaten/html/images/nav-wall.gif">|</td>
10.if.value = 1
10.if.equals.numRows {
table = pages
select {
pidInList.field = uid
}
}
20 < .10
20 {
value=<td><img
src="fileadmin/Templates/layoutdaten/html/images/nav-teiler.gif"
width="33" height="49"></td><td
background="fileadmin/Templates/layoutdaten/html/images/nav-wall.gif">|</td>
if.negate = 1
}
}
}
}
More information about the TYPO3-german
mailing list