[TYPO3] how to retrieve "header" field from within template?

Peter Klein peter at umloud.dk
Tue Mar 14 11:27:29 CET 2006

Hi Surer, try:

myheader.data = page:header

myheader.data = pages:header

(I can't rember which one is the correct one..)

Peter Klein/Umloud Untd

"Surer Dink" <surerlistmail at gmail.com> skrev i en meddelelse 
news:mailman.11768.1142325420.3122.typo3-english at lists.netfielders.de...
  I am asking again, as I have unfortunately not received a reply that
would help me solve this issue.  I was suggested to place
"lib.myheader" into the templavoila path, then to create typoscript:
lib {
  myheader = TEXT
  myheader.field = header
  myheader.wrap = TEST|TEST
inside of my div in the template I now see "TEST TEST", but no header
contents.  I have tried digging thruogh the sources and have found
that at the time this TEXT field is rendered, only a "content"
property is available that contains an ID of another object.  I am at
a loss for how to retrieve the header field data - please help!

---------- Forwarded message ----------
From: Surer Dink <surerlistmail at gmail.com>
Date: Mar 11, 2006 3:04 AM
Subject: templavoila FCE "header" field
To: TYPO3 English <typo3-english at lists.netfielders.de>


Can someone please tell me (or better yet, point me at a reference
where I can look it up) how to get the value of the current FCE's
"header" field in templavoila?  Part of the template contains an
<h2>insert-header-here</h2> , and I would like to take the "header"
field which can be set for every content element and map the value
into this <h2>.


More information about the TYPO3-english mailing list