[TYPO3] ListNum question
Kasper Rasmussen
kasper at cosmiczoom.dk
Thu Mar 2 15:12:06 CET 2006
I'm trying to use the listNum feature to render different
imagecaption styles. This works great, but I can't figure out how to
repeat the second listNum rendering to the rest of the objects.
Is there a way to express "20.if.isTrue.listNum >= 1"?, or should I
use a different approach?
20 = COA
20.fieldRequired = imagecaption
20 {
10 = IMAGE
10.listNum = 0
10.listNum.splitChar = 10
10.altText.field
10.wrap = <div> | </div>
10.file = GIFBUILDER
10.file {
XY = 200,14
backColor = #000000
10 = BOX
10.dimensions = 0,0,200,13
10.color = #009DEA
20 = TEXT
20 {
text = Foto:
fontFile = fileadmin/template/fonts/VERDANAB.TTF
offset = 3,10
fontSize = 10
fontColor = black
niceText = 1
}
30 = TEXT
30 {
text.listNum = 0
text.listNum.splitChar = 10
text.field = imagecaption
fontFile = fileadmin/template/fonts/VERDANAB.TTF
offset = [20.w]+7,10
fontSize = 10
fontColor = black
niceText = 1
}
}
20 = TEXT
20.field = imagecaption
20.listNum = 1
20.listNum.splitChar = 10
20.wrap = <div class="bodytext_image_caption"> | </div>
}
Kasper Rasmussen
kasper at cosmiczoom.dk
Tel.: (+45) 3029 2958
Cosmic Zoom
J. A. Schwartzgade 24
2100 København Ø
DENMARK
www.cosmiczoom.dk
More information about the TYPO3-english
mailing list