[TYPO3-templavoila] HMENU TMENU; mainmenu and submenu in different lib.s

Stepan Papazian s_papazian at abv.bg
Fri Jun 26 17:52:27 CEST 2009


Hi list, 

root 

| service 1 

| main menu item 1 

\ sub menu item 1 

\ sub menu item 2 

| main menu item 2 

\ ... 

| service 2 

| main menu item 1 

\ ... 

| main menu item 2 

\ ...
 

=====main====

    



































==subnav1== 


































 ==subnav2== 


I am using templavoila and mapped the following divs on my template and defined the regilar HMENU TS for the main menu which is the same in both service 1 and service 2: 

lib.service= HMENU
lib.mainhmenu.1 = TMENU
lib.mainhmenu.1.wrap =   |  
lib.mainhmenu.1 {

NO.linkWrap =   |  

}
lib.mainhmenu.1.CUR = 1
lib.mainhmenu.1.CUR {

wrapItemAndSub =  | 

} 

lib.submenu = HMENU
lib.submenu.2 = TMENU
lib.submenu.2.wrap =   |  
lib.submenu.2 {

NO.linkWrap =   |  

}
lib.submenu.2.CUR = 1
lib.submenu.2.CUR {

wrapItemAndSub =  | 

} 

This does not seem to be the right code. If any of you has experience with second level (submenu) is in another lib, please let me know how to solve this issue. 

Thanks! 

 Stepan Papazyan  

e-mail:  s_papazian at abv.bg  


 


More information about the TYPO3-project-templavoila mailing list