[TYPO3] A very simple TYPOScript problem

Brian Bendtsen nightowl at galnet.dk
Wed Mar 14 09:55:21 CET 2007


Jason A. Lefkowitz skrev:
> This should work:
> 
> lib.newFieldName = TEXT
> lib.newFieldName.data = leveltitle:-1
> 
> (the "leveltitle" global var lets you grab the title of any page up or 
> down the rootline.  the "-1" part is where you put the position in the 
> rootline you want to grab from.  I _think_ -1 will get you the parent 
> page; if not, play around with different values until you find it.)
> 
> -- Jason
Thanks

leveltitle:-2 did the trick!

/BB


More information about the TYPO3-english mailing list