Bartie
Joined: 25 Jan 2007 Posts: 1
|
Posted: 25 Jan 2007 - 2:43 pm Post subject:
ACTive menu items with shotcuts problem
|
|
|
Hi forum,
I made a menu in typoscript based on shortcut pages instead of the normal pages. here's the code:
# Top Navigation
subparts.TOPNAV = HMENU
subparts.TOPNAV.special = directory
subparts.TOPNAV.special.value=43
subparts.TOPNAV.entryLevel = 0
subparts.TOPNAV.1.expAll = 1
subparts.TOPNAV.1 = TMENU
subparts.TOPNAV.1 {
noBlur=1
NO.linkWrap = |*| | |*|
NO.allWrap = |*| | | | |*|
ACT = 1
ACT.allWrap = |*| | | | |*|
NO.ATagParams = class="hoofdmenu"
ACT.ATagParams = class="hoofdmenuACT"
}
special value 43 is the pid of the start of the shortcuts in the pagetree.
This works fine, except for the active link that doesn't get the right class, all links in the menu get class "hoofdmenu". Fixing it with using the normal pages to generate the menu is not an option because I need the shortcuts to get the right realUrl path for chinese and japanese languages.
Does anyone know how to fix this?
greetz,
Bartie |
|