[TYPO3-english] Rootline Menu, rename first Level - Solution

Kay Strobach typo3 at kay-strobach.de
Fri Jun 29 14:19:07 CEST 2012


Hi Again,

for every one interested - here is my solution ;)

breadCrumbMenu = HMENU
breadCrumbMenu {
	special = rootline
	special.range = 0|-1
	wrap = <ul>|</ul>
	1 = TMENU
	1 {
		NO {
			allWrap = <li>|</li>
			stdWrap.override = Home
			stdWrap.override.if {
				value.stdWrap.data = fullRootLine:0,uid
				equals.field = uid
			}
		}
		CUR = 1
		CUR {
			doNotLinkIt = 1
			allWrap = <li><a>|</a></li>
		}
	}
}

Thanks for opening my eyes
Kay

Am 29.06.2012 07:58, schrieb Kay Strobach:
> Hello Guys,
> 
> i do have a rather big site and wonder, if it's possible to change the
> title which is displayed for a specific item.
> 
> Having a rootline like this in a COA:
> 
> 	10 = HMENU
> 	10 {
> 		entryLevel = 1
> 		special=rootline
> 		special.range= 2|0
> 		1 = TMENU
> 		1 {
> 			NO {
> 				wrapItemAndSub = <h2>|</h2>
> 				doNotLinkIt = 1
> 			}
> 		}
> 	}
> 
> I can change the target of the pages with:
> 
> 	10.1.target = _top
> 	10.special.targets.3 = page
> 
> Which would mean, that all pages open in _top, while level 3 pages open
> in frame page.
> 
> 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 ;)
> 
> Regards
> Kay
> 


-- 
http://www.kay-strobach.de - Open Source Rocks

TYPO3 .... inspiring people to share!
Get involved: http://typo3.org

Answer was useful - feel free to donate:
  -
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=KPM9NAV73VDF2
  - https://flattr.com/profile/kaystrobach





More information about the TYPO3-english mailing list