lundi 8 juin 2015

Flexform nicht sichtbar

Hallo,

ich schlage mich seid zwei Tagen mit einem Typo3 Modul herum, welche meine Flexform nicht anzeigt. Habe auch schon das Inet abgesucht und denke das die Definition stimmt

ext_tables.php
Code:

$extensionName = \TYPO3\CMS\Core\Utility\GeneralUtility::underscoredToUpperCamelCase($_EXTKEY);
$pluginName = strtolower('vakanz');
$pluginSignature = $extensionName . '_' . $pluginName;

$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_excludelist'][$pluginSignature] = 'layout,select_key,recursive';
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist'][$pluginSignature] = 'pi_flexform';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue($pluginSignature, 'FILE:EXT:' . $_EXTKEY . '/Configuration/FlexForms/vakanz.xml');

vakanz.xml
Code:

<T3DataStructure>  <sheets>
      <sDEF>
        <ROOT>
            <TCEforms>
              <sheetTitle>Function</sheetTitle>
            </TCEforms>
            <type>array</type>
            <el>
              <switchableControllerActions>
                  <TCEforms>
                    <label>Select function</label>
                    <config>
                        <type>select</type>
                        <items>
                          <numIndex index="0">
                              <numIndex index="0">Vakanzliste Schweiz</numIndex>
                              <numIndex index="1">Vacancies->list;Vacancies->show</numIndex>
                          </numIndex>
                          <numIndex index="1">
                              <numIndex index="0">Vakanzliste Staffing24</numIndex>
                              <numIndex index="1">Vacancies->list2;Vacancies->show2</numIndex>
                          </numIndex>
                          <numIndex index="2">
                              <numIndex index="0">Vakanzsuche</numIndex>
                              <numIndex index="1">Vacancies->search;Vacancies->list;Vacancies->show</numIndex>
                          </numIndex>
                        </items>
                    </config>
                  </TCEforms>
              </switchableControllerActions>
            </el>
        </ROOT>
      </sDEF>
        <optionDEF>
            <ROOT>
                <TCEforms>
                    <sheetTitle>Optionen</sheetTitle>
                </TCEforms>
                <type>array</type>
                <el>
                    <settings.show.pid>
                        <TCEforms>
                            <label>Seite der Detailausgabe</label>
                            <config>
                                <type>group</type>
                                <internal_type>db</internal_type>
                                <allowed>pages</allowed>
                                <size>1</size>
                                <maxitems>1</maxitems>
                                <minitems>0</minitems>
                                <show_thumbs>1</show_thumbs>
                            </config>
                        </TCEforms>
                    </settings.show.pid>
                    <settings.list.pid>
                        <TCEforms>
                            <label>Seite der Listausgabe</label>
                            <config>
                                <type>group</type>
                                <internal_type>db</internal_type>
                                <allowed>pages</allowed>
                                <size>1</size>
                                <maxitems>1</maxitems>
                                <minitems>0</minitems>
                                <show_thumbs>1</show_thumbs>
                            </config>
                        </TCEforms>
                    </settings.list.pid>
                    <settings.apply.pid>
                        <TCEforms>
                            <label>Seite der Onlinebewerbung</label>
                            <config>
                                <type>group</type>
                                <internal_type>db</internal_type>
                                <allowed>pages</allowed>
                                <size>1</size>
                                <maxitems>1</maxitems>
                                <minitems>0</minitems>
                                <show_thumbs>1</show_thumbs>
                            </config>
                        </TCEforms>
                    </settings.apply.pid>
                </el>
            </ROOT>
        </optionDEF>
  </sheets>
</T3DataStructure>



Flexform nicht sichtbar

Aucun commentaire:

Enregistrer un commentaire