Return to Snippet

Revision: 75289
at March 4, 2019 20:15 by xtine777


Initial Code
lib.leftmenu = HMENU
lib.leftmenu {
	entryLevel = 1
	stdWrap.required = 1	
	stdWrap.wrap = | 	
}

# First level
lib.leftmenu.1 = TMENU
lib.leftmenu.1 { 
	stdWrap.prepend = TEXT
	#stdWrap.prepend.data = leveltitle:1
	stdWrap.prepend.data =  fullRootLine : 1, nav_title // fullRootLine : 1, title
	stdWrap.prepend.insertData = 1

	stdWrap.prepend.wrap = <h2 class="menutitle2">|</h2>
	noBlur = 1
  
  	NO = 1
  	NO.wrapItemAndSub = <li class="nosub">|</li>
    	NO.stdWrap.htmlSpecialChars = 1
  
  	ACT = 1
  	ACT.wrapItemAndSub = <li class="nosub active">|</li>
  	ACT.stdWrap.htmlSpecialChars = 1
  	
  	CUR = 1
  	CUR.wrapItemAndSub = <li title="You are here: "><span class="active">|</span></li>
 	CUR.doNotLinkIt = 1
 	CUR.stdWrap.htmlSpecialChars = 1 	
  	
  	IFSUB = 1
  	IFSUB.wrapItemAndSub = <li class="sub">|</li>
  	IFSUB.stdWrap.htmlSpecialChars = 1
  	
  	ACTIFSUB = 1
  	ACTIFSUB.wrapItemAndSub = <li class="active sub">|</li>
  	ACTIFSUB.stdWrap.htmlSpecialChars = 1
  	
  	CURIFSUB = 1
  	CURIFSUB.wrapItemAndSub = <li class="active sub">|</li>
  	CURIFSUB.stdWrap.htmlSpecialChars = 1
  	
  	# Listwrap wird nach MenĂ¼titel ausgegeben
  	stdWrap.wrap = <ul class="leftmenu vmenu">|</ul>

}

# Second level
lib.leftmenu.2 = TMENU
lib.leftmenu.2 { 
	#expAll = 1
  	noBlur = 1
	
  	wrap = <ul class="secondlevel">|</ul>   
  	
  	NO = 1
  	NO.wrapItemAndSub = <li>|</li>
    	NO.stdWrap.htmlSpecialChars = 1
  	
  	ACT = 1
  	ACT.wrapItemAndSub = <li class="active">|</li>
  	ACT.stdWrap.htmlSpecialChars = 1
  	
  	
  	CUR = 1
  	#CUR.linkWrap = <li title="You are here: "><span class="active">|</span></li>
  	CUR.wrapItemAndSub = <li title="You are here: "><span class="active">|</span></li>
  	CUR.doNotLinkIt = 1
  	CUR.stdWrap.htmlSpecialChars = 1
 
   	IFSUB = 1
  	IFSUB.wrapItemAndSub = <li class="sub">|</li>
  	IFSUB.stdWrap.htmlSpecialChars = 1
  	
   	ACTIFSUB = 1
  	ACTIFSUB.wrapItemAndSub = <li class="active">|</li>
  	ACTIFSUB.stdWrap.htmlSpecialChars = 1
  	 	
  	CURIFSUB = 1
  	CURIFSUB.wrapItemAndSub = <li class="active sub">|</li>
  	CURIFSUB.stdWrap.htmlSpecialChars = 1
}

Initial URL


Initial Description
Typoscript for multilevel vertical menu, expanding when clicked

Initial Title
Left vertical menu 2 levels

Initial Tags
navigation

Initial Language
TYPO3