[Typo3-german] pid in typoscript
thorsten greiner
ng-reply at brainoutput.net
Fri Sep 23 19:00:05 CEST 2005
moin!
ich habe folgendes typoscript in dem ich in abhängigkeit der pid eine grafik
als hintergrund rendern will. allerdings bin ich grad zu verfahren um
rauszufinden wie ich die pid an die konstante anhänge...
irgendwie bin ich da grad festgefahren.
*constants*
buttonOff_23 = button_off_all*.gif
buttonOn_23 = button_on_familie*.gif
buttonOff_22 = button_off_all*.gif
buttonOn_22 = button_on_gesundheit*.gif
buttonOff_21 = button_off_all*.gif
buttonOn_21 = button_on_wellness*.gif
*setup*
temp.menu = HMENU
temp.menu.1 = GMENU
temp.menu.1 {
NO {
XY = 123,20
backColor = #333399
5 = IMAGE
5.file = {$buttonOff_PID} <- hier die PID
10 = TEXT
10.text.field = title
10.fontFile = fileadmin/fonts/verdana.ttf
10.fontColor = {$colorOff}
10.fontSize = 11
10.align = left
10.offset = 20, 13
wrap = |<br />
}
[...]
}
kann mir jemand helfen, oder mir vielleicht sagen, wie es einfacher geht?
danke!
cheers, thorsten
--
there are only 10 types of people who understand binary... those who do and
those who don't...
More information about the TYPO3-german
mailing list