[TYPO3-english] Flexform configuration in Extbase extension

PIT Solutions typo3 at pitsolutions.com
Tue Sep 11 11:34:12 CEST 2012


Hi All,

I'm trying to implement a flexform with extbase extension but it is not successfull.
I've added the following codes,

flexform.xml file

{namespace flux=Tx_Flux_ViewHelpers}
<f:layout name="flexform.xml" />
<f:section name="Configuration">
  <flux:flexform id="flexform">
    <flux:flexform.sheet name="tab1" label="Tab 1">
      <flux:flexform.field.input name="field1" label="Field in tab 1" />
    </flux:flexform.sheet>
    <flux:flexform.sheet name="tab2" label="Tab 2">
      <flux:flexform.field.input name="field2" label="Field in tab 2" />
    </flux:flexform.sheet>
  </flux:flexform>
</f:section>


ext_tables.php

$TCA['tt_content']['types']['list']['subtypes_addlist'][$_EXTKEY . '_pi1'] = 'pi_flexform';
t3lib_extMgm::addPiFlexFormValue($_EXTKEY . '_pi1', 'FILE:EXT:' . $_EXTKEY .'/Configuration/FlexForms/flexform.xml');


Is this code have any errors?
Anybody know please help me.

Thanks in Advance,
    Arun Chandran


More information about the TYPO3-english mailing list