[TYPO3-english] TMENU and overrideID

Markus Deckmann Markus.Deckmann79 at web.de
Mon Apr 27 21:23:16 CEST 2009


Hi,

Iam trying to use the following TS-Code:

temp.page_id.10 = TEXT
temp.page_id.10 {
   intval = 1
   data = GPvar : id
}

page.20 < temp.page_id.10

###########################
### Main-Menü der Seite ###
###########################
temp.submenu = HMENU
temp.submenu.entryLevel = 2
temp.submenu {
     ### Erste Ebene ###
     1 = TMENU
     1.overrideId < temp.page_id
     1 {
         wrap = <ul class="menu">|</ul>
	expAll = 1
	NO.wrapItemAndSub = <li onmouseover="show(this)" 
onmouseout="hide(this)">|</li>
	ACT < .NO
	ACT = 1
	ACT.ATagParams = class="active"
     }

     ### Zweite, dritte und vierte Ebene (Kopieren von erster Ebene) ###
     2 < .1
     3 < .1
     4 < .1
}
###########################

page.20 results the correct ID of the active site, but overrideID did 
not accept the ID. What will I do wrong in this case? Thanks for your help.

Bye Markus


More information about the TYPO3-english mailing list