[Typo3] espanding menu from standard template

dieter hd.wehe at t-online.de
Fri Apr 1 13:59:50 CEST 2005


LaPointe, Matthew schrieb:
> Before you get flamed by many, know that when posting to the list you
> should use your real name (not "hdw").
> 
> Here is where you will find answers to constructing menus:
> http://typo3.org/documentation/document-library/doc_core_tsref/HMENU-1/
> 
> Best of luck.
> 
> Matthew LaPointe
Thank you for your answer. But I think I'm doing something wrong. I 
looked into the template analyzer for the BUSINESS-template and found 
something like:
temp.leftmenu.2 = TMENU
temp.leftmenu.2 {
   wrap = <tr><td nowrap="nowrap"> | </td></tr>
   target = page
   NO {
     beforeImg =  {$menu.file.bullet}
     beforeROImg = {$menu.file.bullet_RO}
     beforeImgTagParams = hspace="2"
     RO = 1
     after = <br />
     ATagBeforeWrap = 1
     linkWrap= {$menu.L1.fontWrap}
   }
}
I thougt this should also work for level 3. So I added into the setup 
field of my template the same using "3" instead of "2":
temp.leftmenu.3 = TMENU
temp.leftmenu.3 {
   wrap = <tr><td nowrap="nowrap"> | </td></tr>
   target = page
   NO {
     beforeImg =  {$menu.file.bullet}
     beforeROImg = {$menu.file.bullet_RO}
     beforeImgTagParams = hspace="2"
     RO = 1
     after = <br />
     ATagBeforeWrap = 1
     linkWrap= {$menu.L1.fontWrap}
   }
}
I cleared all caches. But no change in the menu. still only 2 levels 
appear (but I have a 3 level page structure).
I tried also creating a new menu in the setup field like from the example:
	temp.sidemenu = HMENU
	temp.sidemenu.entryLevel = 1
	temp.sidemenu.1 = TMENU
	...
	temp.sidemenu.2 = TMENU
	...
	temp.sidemenu.3 = TMENU
but also no change in behavior. still the original menu from the 
BUSINESS-template is schown.
I'm sure I'm doing something basically wrong.
Thang you for further help.



More information about the TYPO3-english mailing list