[TYPO3-english] catmenu in hmenu

luca mingusthecat at gmail.com
Tue Dec 2 11:03:46 CET 2008


Hi

I know there's a list for tt_news, but I've tried in the tt_news list 
and I could not get a good solution for my problem. I hope this list can 
put me in contact with someone who can help me.

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.

I have found some post regarding this subject but I wasn't able to make 
it work correctly...I do not have enough experience with typo3 yet....!

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-english mailing list