[TYPO3] how to retrieve "header" field from within template?
Surer Dink
surerlistmail at gmail.com
Tue Mar 14 09:36:57 CET 2006
All,
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>
All,
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>.
Thanks!
More information about the TYPO3-english
mailing list