[Typo3-german] pid in typoscript
thorsten greiner
ng-reply at brainoutput.net
Fri Sep 23 20:54:42 CEST 2005
nabend arnd...
Am 23.09.2005 19:41 Uhr schrieb "Arnd Messer" unter
<meincontainer at gmail.com> in
mailman.1.1127497270.5148.typo3-german at lists.netfielders.de:
> mit conditions arbeiten könnte eine lösung sein:
>
> *constants*
> [PIDinRootline = 23]
> buttonOff = button_off_all*.gif
> buttonOn = button_on_familie*.gif
> [global]
>
> [PIDinRootline = 22]
> buttonOff = button_off_all*.gif
> buttonOn = button_on_gesundheit*.gif
> [global]
>
> [PIDinRootline = 21]
> buttonOff = button_off_all*.gif
> buttonOn = button_on_wellness*.gif
> [global]
>
>
> *setup*
> temp.menu = HMENU
> temp.menu.1 = GMENU
> temp.menu.1 {
> NO {
> XY = 123,20
> backColor = #333399
> 5 = IMAGE
> 5.file = {$buttonOff}
> 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 />
> }
> [...]
> }
>
> ...try it!
hmm... hat den effekt, daß das wenn die akutelle seite pid=23 hat, sind alle
grafiken gleich der von pid 23.
mein menü:
|
+ punkt 1 (pid 23 - rote hintergrundgrafik)
|
+ punkt 2 (pid 22 - grüne hintergrundgrafik)
|
+ punkt 3 (pid 21 - blaue hintergrundgrafik)
|
+ punkt n (pid xy - lilagraugelbe hintergrundgrafik)
es sollte so sein, daß beim rendern des menü's wenn der akutelle menüpunkt
pid=23 abgearbeitet wird, dann soll die grafik für 23 gewählt werden, wenn
der menüpunkt pid=22 abgearbeitet wird, soll die grafik für 22 genommen
werden, etc.
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