[TYPO3] A very simple TYPOScript problem
Tyler Kraft
headhunterxiii at yahoo.ca
Sun Mar 11 05:10:48 CET 2007
so I'm assuming that you have yet to either a) read my previous post or
b) try the ts in my previous post...
The ones I gave in the last post will both work as I use them both in
various places for various reasons. To get the parent of the current
page is easy enough - look at the leveltitle as a data type.
Brian Bendtsen wrote:
> Tyler Kraft skrev:
>> wait, you want the page name of the parent page or from a specific
>> page/treelevel?
>
> First of all I have just tried to get the current page title, with no
> luck. But in the end its the parent page title I want.
>
> And it might be well documented but I cant get it to work.
>
> lib.siteName = TEXT
> lib.siteName.data = page:title
>
> this shows nothing
>
> but this:
>
> lib.siteName = TEXT
> lib.siteName.value = test
>
> works fine.
>
>
> /BB
More information about the TYPO3-english
mailing list