[TYPO3-english] Flexform: get default tt_content header

Aneta Jaroslava aneta2000 at hotmail.com
Fri Nov 13 22:28:44 CET 2009


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