[TYPO3-german] BE und flexform Problem

Corrado Viotto corrado at corrado.li
Thu Nov 13 10:19:54 CET 2008


Fabian K. schrieb:
> Vielleicht zeigst du uns mal deine Flexform.xml!? ;)
> 
> Corrado Viotto schrieb:
>> Hi,
>> habe diese Frage schon anfangs Jahr mal gestellt und keine Antwort 
>> bekommen, seither habe ich das Projekt aber auch nicht mehr verändert:
>>
>> Habe meine Extension damals auf Flexform umgestellt. Das PlugIn konnte 
>> ich damit auch sehr gut konfigurieren. Funktioniert wunderbar.
>>
>> Doch wenn ich einen neuen Datensatz erstellen möchte werden die Titel 
>> und Labels nicht mehr angezeigt. Ich habe nur noch die Input 
>> Felder(z.B. eine neue CD für die CD Kollektion ;-) )
>> Natürlich kenne ich die Felder auswendig und weiss wo was hingehört 
>> aber es ist ja keine dauerhafte Lösung.
>>
>> Was habe ich im flexfom.xml vergessen oder nicht beachtet?
>>
>> Gruss
>> Corrado
Hier meine Flexform.
Denke sie ist nicht komplett aber leider weiss ich nicht, wie ich diese 
komplettieren muss. Habe auch schon in der Wiki nachgesehen:

------------------FLEXFORM--------------------------
<T3DataStructure>
  <meta>
        <langDisable>1</langDisable>
  </meta>
  <sheets>
   <sDEF>
    <ROOT>
     <TCEforms>
 
<sheetTitle>LLL:EXT:user_artgallery/locallang_db.php:tt_content.pi_flexform.sheet_general</sheetTitle>
     </TCEforms>
     <type>array</type>
      <el>
       <pages>
        <TCEforms>
         <exclude>1</exclude>
         <label>LLL:EXT:lang/locallang_general.php:LGL.startingpoint</label>
         <config>
          <type>group</type>
          <internal_type>db</internal_type>
          <allowed>pages</allowed>
          <size>3</size>
          <maxitems>22</maxitems>
          <minitems>0</minitems>
          <show_thumbs>1</show_thumbs>
         </config>
        </TCEforms>
       </pages>

		<welcher_artist>
			<TCEforms>
				<label>Anzuzeigende Kategorie:</label>
				<config>
					<type>select</type>
					<items type="array">
						<numIndex index="0" type="array">
							<numIndex index="0"></numIndex>
							<numIndex index="1"></numIndex>
						</numIndex>
						<numIndex index="1" type="array">
							<numIndex index="0">Bernard Buffet</numIndex>
							<numIndex index="1">Bernard Buffet</numIndex>
						</numIndex>
						<numIndex index="2" type="array">
							<numIndex index="0">Althaus Oskar</numIndex>
							<numIndex index="1">Althaus Oskar</numIndex>
						</numIndex>
						<numIndex index="3" type="array">
							<numIndex index="0">sonstige</numIndex>
							<numIndex index="1">sonstige</numIndex>
						</numIndex>					
						<numIndex index="4" type="array">
							<numIndex index="0">Baj Enrico</numIndex>
							<numIndex index="1">Baj Enrico</numIndex>
						</numIndex>
						<numIndex index="5" type="array">
							<numIndex index="0">Susanna Frey</numIndex>
							<numIndex index="1">Susanna Frey</numIndex>
						</numIndex>												
						<numIndex index="6" type="array">							
							<numIndex index="0">Joerg Schneider</numIndex>							
							<numIndex index="1">Joerg Schneider</numIndex>						
						</numIndex>						
						<numIndex index="7" type="array">							
							<numIndex index="0">Mario Schifano</numIndex>							
							<numIndex index="1">Mario Schifano</numIndex>						
						</numIndex>						
						<numIndex index="8" type="array">							
							<numIndex index="0">Tibor Olah</numIndex>							
							<numIndex index="1">Tibor Olah</numIndex>						
						</numIndex>
						<numIndex index="9" type="array">
							<numIndex index="0">Kaye Kirst</numIndex>
							<numIndex index="1">Kaye Kirst</numIndex>
						</numIndex>
					</items>
					<maxitems>1</maxitems>
					<size>1</size>
				</config>
			</TCEforms>
		</welcher_artist>

       <welche_kategorie>
        <TCEforms>
         <label>Kategorie</label>
         <config>
          	<type>select</type>
          		<items type="array">
           			<numIndex index="0">
           				<numIndex index="0"></numIndex>
           				<numIndex index="1">0</numIndex>
           			</numIndex>
          		</items>
          		<foreign_table>user_artgallery_cat</foreign_table>
          		<foreign_table_where>
          			AND user_artgallery_cat.deleted=0
          			AND user_artgallery_cat.hidden=0
          			ORDER BY user_artgallery_cat.titel
          		</foreign_table_where>
          		<size>1</size>
          		<maxitems>1</maxitems>
         </config>
        </TCEforms>
       </welche_kategorie>
      </el>
     </ROOT>
    </sDEF>
    <display>
     <ROOT>
      <TCEforms>
 
<sheetTitle>LLL:EXT:user_artgallery/locallang_db.php:tt_content.pi_flexform.sheet_display</sheetTitle>
      </TCEforms>
      <type>array</type>
      <el>
       <disable_rte>
        <TCEforms>
 
<label>LLL:EXT:user_artgallery/locallang_db.php:tt_content.pi_flexform.disable_rte</label>
         <config>
          <type>check</type>
         </config>
        </TCEforms>
       </disable_rte>
      </el>
     </ROOT>
    </display>
    <error>
     <ROOT>
      <TCEforms>
       <sheetTitle>Die ist ein Test</sheetTitle>
      </TCEforms>
      <type>array</type>
      <el>
       <show_errors>
        <TCEforms>
 
<label>LLL:EXT:user_artgallery/locallang_db.php:tt_content.pi_flexform.show_errors</label>
         <config>
          <type>check</type>
         </config>
        </TCEforms>
       </show_errors>
       <prepend_text>
        <TCEforms>
 
<label>LLL:EXT:user_artgallery/locallang_db.php:tt_content.pi_flexform.prepend_text</label>
         <config>
          <type>input</type>
          <size>30</size>
         </config>
        </TCEforms>
       </prepend_text>
      </el>
     </ROOT>
    </error>
   </sheets>
</T3DataStructure>

----------------------------FLEXFORM ENDE----------------------------


Vielen Dank schon mal
Gruss
Corrado


More information about the TYPO3-german mailing list