[TYPO3-templavoila] TypoScript with TV not working

Benjamin Mack mack at xnos.org
Tue Mar 20 14:34:12 CET 2007


Thanks, Dmitry!

You pointed in the right direction. "data = page:title" did the trick

lib.headline = TEXT
lib.headline {
     data = page:title
     wrap = <div id="headline1">Title: |</div>
}


Although I wondered why it did not work with "field = title" since TSref 
says:

---- from getText ----
field : [fieldname from the current $cObj->data-array in the cObj.]
As default the $cObj->data-array is $GLOBALS["TSFE"]->page (record of 
the current page!)
---------

well. It did not point there by default... ;-).

Anyway. Thanks again, Dmitry!

-- 
greetings,
benni.
-SDG-

www.xnos.de // www.xnos.org


More information about the TYPO3-project-templavoila mailing list