[TYPO3-german] TemplaVoila - Referenzieren von Elementen per function module

Adler, Jesse Jesse.Adler at telekom.de
Fri Mar 14 16:20:41 CET 2008


Hallo,
 
ich setze zurzeit eine Seite mit TV um und habe ein Problem mit dem automatischen Referenzieren von Contentelementen.
 
Obwohl ich in der Datenstruktur des Seitentemplates für alle <eType>ce</eType> die <oldStyleColumnNumber> richtig gesetzt habe, werden alle Content-Elemente in die Spalte Normal colPos=0 geschoben, wenn ich die Funktion zum Referenzieren von Elementen benutze. Kennt einer dieses Problem und kann mir behilflich sein? Woran kann das liegen?
 
Ich hänge mal meine DS mit an, die zwar lang ist, aber der Vollständigkeit halber abgebildet werden sollte.
 
Vielen Dank für Eure Hilfe und ein schönes Wochenende.
 
Liebe Grüße
Jesse
 
 
<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
<T3DataStructure>
 <meta type="array">
  <langDisable>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>
  </tx_templavoila>
  <type>array</type>
  <el type="array">
   <field_search_metadata type="array">
    <tx_templavoila type="array">
     <title>Metdadaten für die Suchmaschine</title>
     <sample_data type="array">
      <numIndex index="0"></numIndex>
     </sample_data>
     <eType>TypoScriptObject</eType>
     <TypoScriptObjPath>lib.searchMetadata</TypoScriptObjPath>
    </tx_templavoila>
   </field_search_metadata>
   <field_tdigitsheader type="array">
    <tx_templavoila type="array">
     <title>Grafik im Header</title>
     <sample_data type="array">
      <numIndex index="0"></numIndex>
     </sample_data>
     <eType>TypoScriptObject</eType>
     <TypoScriptObjPath>lib.tDigitsHeader</TypoScriptObjPath>
    </tx_templavoila>
   </field_tdigitsheader>
   <field_topnavslogan type="array">
    <tx_templavoila type="array">
     <title>Slogan des Portals in der Hauptnavigation</title>
     <sample_data type="array">
      <numIndex index="0"></numIndex>
     </sample_data>
     <eType>TypoScriptObject</eType>
     <TypoScriptObjPath>lib.topNavSlogan</TypoScriptObjPath>
    </tx_templavoila>
   </field_topnavslogan>
   <field_menu type="array">
    <tx_templavoila type="array">
     <title>Meta navigation at the top right</title>
     <sample_data type="array">
      <numIndex index="0"></numIndex>
     </sample_data>
     <eType>TypoScriptObject</eType>
     <TypoScriptObjPath>lib.headerlinks</TypoScriptObjPath>
    </tx_templavoila>
   </field_menu>
   <field_topnav type="array">
    <tx_templavoila type="array">
     <title>Top navigation</title>
     <sample_data type="array">
      <numIndex index="0"></numIndex>
     </sample_data>
     <eType>TypoScriptObject</eType>
     <TypoScriptObjPath>lib.topnav</TypoScriptObjPath>
    </tx_templavoila>
   </field_topnav>
   <field_subnav type="array">
    <tx_templavoila type="array">
     <title>Sub navigation</title>
     <sample_data type="array">
      <numIndex index="0"></numIndex>
     </sample_data>
     <eType>TypoScriptObject</eType>
     <TypoScriptObjPath>lib.subnav</TypoScriptObjPath>
    </tx_templavoila>
   </field_subnav>
   <field_breadcrumb type="array">
    <tx_templavoila type="array">
     <title>Breadcrumb</title>
     <sample_data type="array">
      <numIndex index="0"></numIndex>
     </sample_data>
     <eType>TypoScriptObject</eType>
     <TypoScriptObjPath>lib.breadcrumb</TypoScriptObjPath>
    </tx_templavoila>
   </field_breadcrumb>
   <field_ctxtnav type="array">
    <tx_templavoila type="array">
     <title>Left Navigation</title>
     <sample_data type="array">
      <numIndex index="0"></numIndex>
     </sample_data>
     <eType>TypoScriptObject</eType>
     <TypoScriptObjPath>lib.leftNavigation</TypoScriptObjPath>
    </tx_templavoila>
   </field_ctxtnav>
   <field_titlebar type="array">
    <tx_templavoila type="array">
     <title>Main Title Bar mit Hilfe-Icon</title>
     <sample_data type="array">
      <numIndex index="0"></numIndex>
     </sample_data>
     <eType>TypoScriptObject</eType>
     <TypoScriptObjPath>lib.titlebar</TypoScriptObjPath>
    </tx_templavoila>
   </field_titlebar>
   <field_content type="array">
    <tx_templavoila type="array">
     <title>Zentraler Inhaltsbereich</title>
     <sample_data type="array">
      <numIndex index="0">This is main content area text</numIndex>
     </sample_data>
     <eType>ce</eType>
     <TypoScript>
      10= RECORDS
      10.source.current=1
      10.tables = tt_content
      10.wrap = &lt;!--TYPO3SEARCH_begin--&gt; | &lt;!--TYPO3SEARCH_end--&gt;
                    </TypoScript>
     <oldStyleColumnNumber type="integer">0</oldStyleColumnNumber>
    </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>Zentraler Inhaltsbereich</label>
    </TCEforms>
   </field_content>
   <field_copyright type="array">
    <tx_templavoila type="array">
     <title>Copyright im Footer</title>
     <sample_data type="array">
      <numIndex index="0"></numIndex>
     </sample_data>
     <eType>TypoScriptObject</eType>
     <TypoScriptObjPath>lib.copyright</TypoScriptObjPath>
    </tx_templavoila>
   </field_copyright>
   <field_sidebar type="array">
    <tx_templavoila type="array">
     <title>Container - Rechter Contentbereich - Sidebar</title>
     <sample_data type="array">
      <numIndex index="0"></numIndex>
     </sample_data>
     <eType>ce</eType>
     <TypoScript>
      10= RECORDS
      10.source.current=1
      10.tables = tt_content
      10.wrap = &lt;!--TYPO3SEARCH_begin--&gt; | &lt;!--TYPO3SEARCH_end--&gt;
                    </TypoScript>
     <oldStyleColumnNumber type="integer">2</oldStyleColumnNumber>
    </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>Container - Rechter Contentbereich - Sidebar</label>
    </TCEforms>
   </field_sidebar>
   <field_help type="array">
    <tx_templavoila type="array">
     <title>Hilfe-Box</title>
     <sample_data type="array">
      <numIndex index="0"></numIndex>
     </sample_data>
     <eType>ce</eType>
     <TypoScript>
      <![CDATA[
      10 = COA
      10 {
       10= RECORDS
       10.source.current=1
       10.tables = tt_content
      }
      
      10.stdWrap.required = 1
      10.stdWrap.wrap ( 
       <div id="help_1" class="box help" style="display: none;"> 
        <div class="titlebar">
         <div class="tools">
          <a href="#" onclick="closeHelp()" class="close">Schließen</a>
         </div>
         <h2>Hilfe</h2>
        </div>
        <div class="content">
         | 
        </div>
       </div> 
      )
      ]]>
                    </TypoScript>
     <oldStyleColumnNumber type="integer">3</oldStyleColumnNumber>
    </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>Hilfe-Box</label>
    </TCEforms>
   </field_help>
   <field_layoutclass type="array">
    <type>attr</type>
    <tx_templavoila type="array">
     <title>Layout Class of Main Content TD</title>
     <sample_data type="array">
      <numIndex index="0"></numIndex>
     </sample_data>
     <eType>TypoScriptObject</eType>
     <TypoScriptObjPath>lib.pageLayoutClass</TypoScriptObjPath>
    </tx_templavoila>
   </field_layoutclass>
   <field_layoutcolspan type="array">
    <type>attr</type>
    <tx_templavoila type="array">
     <title>Layout Colspan of Main Content TD</title>
     <sample_data type="array">
      <numIndex index="0"></numIndex>
     </sample_data>
     <eType>TypoScriptObject</eType>
     <TypoScriptObjPath>lib.pageLayoutColspan</TypoScriptObjPath>
    </tx_templavoila>
   </field_layoutcolspan>
   <field_toplink type="array">
    <tx_templavoila type="array">
     <title>Toplink zum Seitenanfang</title>
     <sample_data type="array">
      <numIndex index="0"></numIndex>
     </sample_data>
     <eType>TypoScriptObject</eType>
     <TypoScriptObjPath>lib.toplink</TypoScriptObjPath>
    </tx_templavoila>
   </field_toplink>
   <field_tools type="array">
    <tx_templavoila type="array">
     <title>Page Header Tools</title>
     <sample_data type="array">
      <numIndex index="0"></numIndex>
     </sample_data>
     <eType>TypoScriptObject</eType>
     <TypoScriptObjPath>lib.pageHeaderTools</TypoScriptObjPath>
    </tx_templavoila>
   </field_tools>
   <field_search type="array">
    <tx_templavoila type="array">
     <title>WissenNet Suchformular</title>
     <sample_data type="array">
      <numIndex index="0"></numIndex>
     </sample_data>
     <eType>TypoScriptObject</eType>
     <TypoScriptObjPath>lib.toiSearch</TypoScriptObjPath>
    </tx_templavoila>
   </field_search>
   <field_directlinks type="array">
    <tx_templavoila type="array">
     <title>Direct Links</title>
     <sample_data type="array">
      <numIndex index="0"></numIndex>
     </sample_data>
     <eType>TypoScriptObject</eType>
     <TypoScriptObjPath>lib.directlinks</TypoScriptObjPath>
    </tx_templavoila>
   </field_directlinks>
   <field_newsletterheader type="array">
    <tx_templavoila type="array">
     <title>Newsletter Header</title>
     <sample_data type="array">
      <numIndex index="0"></numIndex>
     </sample_data>
     <eType>TypoScriptObject</eType>
     <TypoScriptObjPath>lib.newsletterheader</TypoScriptObjPath>
    </tx_templavoila>
   </field_newsletterheader>
   <field_documentfooter type="array">
    <tx_templavoila type="array">
     <title>Document Footer</title>
     <sample_data type="array">
      <numIndex index="0"></numIndex>
     </sample_data>
     <eType>TypoScriptObject</eType>
     <TypoScriptObjPath>lib.documentfooter</TypoScriptObjPath>
    </tx_templavoila>
   </field_documentfooter>
   <field_popuptitlebar type="array">
    <tx_templavoila type="array">
     <title>PopUp Titlebar mit Close-Link</title>
     <sample_data type="array">
      <numIndex index="0"></numIndex>
     </sample_data>
     <eType>TypoScriptObject</eType>
     <TypoScriptObjPath>lib.popupTitlebar</TypoScriptObjPath>
    </tx_templavoila>
   </field_popuptitlebar>
  </el>
 </ROOT>
</T3DataStructure>
 


More information about the TYPO3-german mailing list