[Typo3] TypoScript Field Property
Francois Suter
fsuter at cobweb.ch
Wed May 25 15:43:18 CEST 2005
Hi Nick,
> This here works fine:
>
> #heading
> page.20 = TEXT
> page.20.field = title
> page.20.wrap = <h1>|</h1>
>
> but when I put it like so
>
> #heading
> lib.heading = TEXT
> lib.heading.field = title
> lib.heading.wrap = <h1>|</h1>
The difference is that the "lib" object isn't the same as the "page"
object. The page knows its own title. The "lib" object is an abstract
object, not directly related to the page. The solution is to use
lib.heading.data = page:title
instead of
> ib.heading.field = title
Cheers
François Suter
Directeur technique
-----------------------------------------------------
Cobweb Development Sàrl
www.cobweb.ch
-----------------------------------------------------
More information about the TYPO3-english
mailing list