Download  |  Search  |  Log in  |  FAQ  |  Memberlist  |  Online  |  TYPO3.org Developer Resource
Home » TypoScript » Menu
Post new topic   Reply to topic Page 1 of 1 [1 Post] ACTive menu items with shotcuts problem
Author Message
Bartie



Joined: 25 Jan 2007
Posts: 1

PostPosted: 25 Jan 2007 - 2:43 pm    Post subject:  ACTive menu items with shotcuts problem Reply with quote

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
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [1 Post] View previous topic :: View next topic
Home » TypoScript » Menu
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum