[TYPO3] Static Graphical Menu - not generated by Typo3
Florian Schupp | former03
f.schupp at gmx.de
Wed Jan 4 19:02:58 CET 2006
i have a graphical navigation on my page which is not generated from
typo3 but has hardcoded links.
now i want to have an active status in this menu, depending on the alias
of the page. that means if let's say page:alias equals home, the marker
###NAVIMAGE_1### should be replaced with the image nav_0_active.gif if
not, it should be nav_0.gif
i played around with TS "if" function, but did not figure it out.
please help.
10.marks {
NAVIMAGE_1 = IMAGE
NAVIMAGE_1.file = nav_0.gif
pagealias = TEXT
pagealias.file = page:alias
---> HERE it should go
---> if (pagealias == home) { NAVIMAGE_1 < nav_0_active.gif }
}
thanks
Florian
More information about the TYPO3-english
mailing list