[TYPO3-ttnews] integrate CATMENU in HMENU

Luca mingusthecat at gmail.com
Tue Dec 2 10:59:17 CET 2008


Hi

I'm writing to propose the same question, as could not find a good 
solution for it...I hope someone can help me with this.

I would like to know how to display the catmenu as sub items of mainmenu 
(hmenu). I have a menu item with "news and events" ...I would like to 
show the news categories within the main menu.

Here is my hmenu setting...

##############################################
##########       mainmenu          ###########
##############################################

subparts.left_menu = HMENU
subparts.left_menu{
	entryLevel = 0

	wrap = <ul>|</ul>
	1 = TMENU
	1 {
	noBlur = 1
	expAll = 0	
	NO.allWrap = <li class="left_menu_level1_no"> | </li>
	NO.stdWrap.htmlSpecialChars = 1
	NO.ATagTitle.field = title
	ACT = 1
	ACT.ATagTitle.field = title
	ACT.stdWrap.htmlSpecialChars = 1
	ACT.allWrap = <li class="left_menu_level1_act">|
	ACT.allWrap.insertData = 1
	ACTIFSUB = 1
	ACTIFSUB < .ACT
	ACTIFSUB.allWrap = <li class="left_menu_level1_act_{field:uid}">|
	CURIFSUB = 1
	CURIFSUB <. ACT
	}
}

subparts.left_menu.2 = TMENU
subparts.left_menu.2.wrap = <ul class="left_menu_level2">|</ul></li>
subparts.left_menu.2 {
	noBlur = 1
	NO.ATagTitle.field = title
	NO.allWrap = <li class="left_menu_level2_no">|</li>
	ACT = 1
	ACT.ATagTitle.field = title
	ACT.stdWrap.htmlSpecialChars = 1
	ACT.allWrap = <li class="left_menu_level2_act">|</li>
}
##############################################

Thank you

Luca


More information about the TYPO3-project-tt-news mailing list