[TYPO3-english] Flexform: get default tt_content header

Peter Klein pmk at io.dk
Sat Nov 14 21:10:27 CET 2009


Hi Aneta.

Check the bottom of this page, about the special register: values:
http://typo3.org/documentation/document-library/extension-manuals/templavoila/1.3.7/view/1/5/

--
Peter Klein


"Aneta Jaroslava" <aneta2000 at hotmail.com> wrote in message 
news:mailman.1.1258147762.17401.typo3-english at lists.typo3.org...
> Hi all,
>
>
> I have flexform as own contentelement.
> Now I want to get the default tt?content header to write to mz flexform 
> mainheadline.
> Manz things did not work to get header.
> I am out of ideas ...:-(
>
>      <mainheadline type="array">
>         <tx_templavoila type="array">
>           <title>mainheadline</title>
>           <description>mainheadline</description>
>           <sample_data type="array">
>             <numIndex index="0">mainheadline</numIndex>
>           </sample_data>
>           <eType>input_g</eType>
>           <TypoScript>
>             <![CDATA[
>               10 = TEXT
>               10 {
> (1)                dataWrap = {field:headline}
> (2)                field = header
> (3)                text.field header
> (4)                data= field:header
>                 wrap = <h2>|.</h2>
>               }
>             ]]> </TypoScript>
>         </tx_templavoila>
>         <TCEforms type="array">
>           <config type="array">
>             <type>input</type>
>             <size>48</size>
>             <eval>trim</eval>
>           </config>
>           <label>MAIN HEADLINE</label>
>         </TCEforms>
>       </mainheadline>
>
>
> Number 1 to 4 are the things I treid, but did not work.
> Anybody help me please?!
>
> Thanks. 




More information about the TYPO3-english mailing list