[TYPO3-english] Rootline Menu, rename first Level

Torsten Schrade schradt at uni-mainz.de
Fri Jun 29 08:31:57 CEST 2012


Hi Kay,

> I search a solution for displaying HOME, instead of the real page title
> in the very first item of the rootline ;) - any idea instead of
> userfunctions und clustered menues ;)

Generally you can override the text of TMENUITEMS with stdWrap and - in
your case - execute this only if the uid of the first page in your
rootline matches the currently processed uid of the item:

10 = HMENU
10 {
	entryLevel = 1
	special=rootline
	special.range= 2|0
	1 = TMENU
	1 {
		NO {
			wrapItemAndSub = <h2>|</h2>
			doNotLinkIt = 1
			stdWrap.override = HOME
			stdWrap.override.if {
    				value = YOUR_ROOTPAGE_ID
   				equals.field = uid
  			}		
		}
	}
}

Have fun, Torsten



More information about the TYPO3-english mailing list