[TYPO3-german] Grafische Headlines

David Bruchmann david at bruchmann-web.de
Wed Sep 23 16:46:02 CEST 2009


Hy Kati,

folgendes sieht zwar blöd aus und ergibt keinen Sinn, aber es 
funktioniert als DS mit Bildausgabe:



<T3DataStructure>
     <meta type="array">
         <langChildren type="integer">1</langChildren>
         <langDisable type="integer">1</langDisable>
     </meta>
     <ROOT type="array">
         <tx_templavoila type="array">
             <title>ROOT</title>
             <description>Select the HTML element on the page which you 
want to be the overall container element for the template.</description>
             <tags>body</tags>
         </tx_templavoila>
         <type>array</type>
         <el type="array">
             <field_content type="array">
                 <tx_templavoila type="array">
                     <title>Main Content Area</title>
                     <description>Pick the HTML element in the template 
where you want to place the main content of the site.</description>
                     <sample_data type="array">
                         <numIndex index="0">Lorem ipsum dolor sit amet, 
consectetuer adipiscing elit. Pellentesque porta erat vitae nisl. In hac 
habitasse platea dictumst. Aliquam ac urna. Morbi magna mauris, semper 
ut, varius in, convallis vitae, nulla. Proin massa lorem, mollis eget, 
rutrum vitae, commodo id, risus. Curabitur scelerisque risus eget odio. 
Proin laoreet blandit elit. Aenean varius, sapien laoreet dapibus 
volutpat, risus lorem ornare wisi, lobortis venenatis nisl augue sed 
purus. Nam suscipit viverra justo. Suspendisse tincidunt. Nullam vel 
quam.</numIndex>
                     </sample_data>
                     <eType>ce</eType>
 
<tags>table:outer,td:inner,div:inner,p,h1,h2,h3,h4,h5</tags>
                     <oldStyleColumnNumber>0</oldStyleColumnNumber>
                         <TypoScript>

  10 = IMAGE
  10.file = GIFBUILDER
  10.file {
    XY = 200,30
    backColor = #ffffff

    10 = TEXT
    10.text.current = 1
    10.text.case = upper
    10.fontColor = #dddddd
    10.fontFile =  fileadmin/templates/fonts/BATANG.ttf
    10.niceText = 0
    10.offset = 0,14
    10.fontSize = 30
  }
         </TypoScript>

                 </tx_templavoila>
                 <TCEforms type="array">
                     <config type="array">
                         <type>group</type>
                         <internal_type>db</internal_type>
                         <allowed>tt_content</allowed>
                         <size>5</size>
                         <maxitems>200</maxitems>
                         <minitems>0</minitems>
                         <multiple>1</multiple>
                         <show_thumbs>1</show_thumbs>
                     </config>
                     <label>Main Content Area</label>
                 </TCEforms>
             </field_content>
             <field_menu type="array">
                 <tx_templavoila type="array">
                     <title>Main menu</title>
                     <description>Pick the HTML container element where 
you want the automatically made menu items to be placed.</description>
                     <sample_data type="array">
                         <numIndex index="0">[Menu goes here]</numIndex>
                     </sample_data>
                     <tags>table:inner,ul,div,tr,td</tags>
                     <eType_EXTRA type="array">
                         <objPath>lib.mainMenu</objPath>
                     </eType_EXTRA>
                     <TypoScriptObjPath>lib.mainMenu</TypoScriptObjPath>
                     <eType>TypoScriptObject</eType> 
</tx_templavoila>
             </field_menu>
             <field_submenu type="array">
                 <tx_templavoila type="array">
                     <title>Sub menu (if any)</title>
                     <description>Pick the HTML container element where 
you want the automatically made submenu items to be placed.</description>
                     <sample_data type="array">
                         <numIndex index="0">[Menu goes here]</numIndex>
                     </sample_data>
                     <eType>TypoScriptObject</eType>
                     <tags>table:inner,ul,div,tr,td</tags>
                     <eType_EXTRA type="array">
                         <objPath>lib.subMenu</objPath>
                     </eType_EXTRA>
                     <TypoScriptObjPath>lib.subMenu</TypoScriptObjPath>
                 </tx_templavoila>
             </field_submenu>
         </el>
     </ROOT>
</T3DataStructure>


Viele Grüße
David


More information about the TYPO3-german mailing list