[TYPO3-english] TMENU
Stefano Kowalke
blueduck at gmx.net
Tue Jun 23 02:06:37 CEST 2009
Hi list,
my question is about a special TMENU setup.
I have a page tree like this in the BE:
root
1991
red
blue
1998
red
green
yellow
2000
blue
yellow
menu
home
about yellow pages
about red pages
about green pages
about blue pages
lib.mainMenu = HMENU
lib.mainMenu {
special = list
special.value = ids_from_pages_under_menu_folder (home, about yellow
pages, ...)
1 = TMENU
1 {
noBlur = 1
NO = 1
NO {
}
ACT < .NO
ACT {
ATagParams = class="current"
}
CUR < .NO
CUR {
ATagParams = class="current"
}
}
}
This generates a menu like this:
home
about yellow pages
about red pages
about green pages
about blue pages
Now comes my question:
If i navigate to a blue page the menu item
"about blue pages" should be highlighted (add the css-class "current").
But TYPO3 dont have a relation between the page "about blue pages" and
all the blue pages in the pagetree.
How could TYPO3 recognize the the blue pages relates to "about blue pages"?
The pagetree structure is mandatory, so i can´t move all blue pages into
"about blue pages".
Thanks in advance
Stefano
More information about the TYPO3-english
mailing list