[TYPO3] how to retrieve "header" field from within template?
Surer Dink
surerlistmail at gmail.com
Tue Mar 14 18:22:16 CET 2006
Peter,
First, a big thank you for once again trying to help me.
Unofrtunately I have tried both of these with the same result - no
data appears in the rendered page (although both times the blank is
wrapped in TEST|TEST, so I know at least the TEXT element makes it
into the correct place). Perhaps this time TemplaVoila is at fault,
but I do not know how to fight it (the template in question is a
Flexible Component Element). Do you have any other thoughts or
suggestions for what to try?
On 3/14/06, Peter Klein <peter at umloud.dk> wrote:
> Hi Surer, try:
>
> myheader.data = page:header
>
> or
> 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...
> 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!
>
>
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>
More information about the TYPO3-english
mailing list