Zum Inhalt springen

Referenzieren von Elementen per function modul

Erstellt am 17. März 2008 · Noch keine Antworten

Tags: Frage

illuminatus.​berlin ·

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.

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_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_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>
  </el>
 </ROOT>
</T3DataStructure>