[TYPO3-german] Anzahl der Unterseiten ermitteln
Peter Russ
peter.russ at 4many.net
Thu Feb 23 10:19:05 CET 2006
JoH schrieb:
>> Ich kau mir grad die Fingernägel ab:
[...]
>
> 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
> }
>
> Getestet und für gut befunden ;-)
>
> Joey
>
Schlanker!!!
allWrap.cObject {
10 = TEXT
10.value = <li class="nurEine">|
10.if.value = 1
10.if.equals.numRows {
table = pages
select {
pidInList.field = uid
}
}
20 < .10
20 {
value=<li class="mehrere">|
if.negate = 1
}
}
Aber ansonsten, wie immer: TS Joey rulez!
Gruss. Peter.
--
Fiat lux!
Docendo discimus.
_____________________________
4Many® Services
openBC: http://www.openbc.com/go/invuid/Peter_Russ
More information about the TYPO3-german
mailing list