[TYPO3-english] Flexform configuration in Extbase extension

Wouter Wolters wouter at windinternet.nl
Tue Sep 11 12:11:32 CEST 2012


Hi,

You need to register the flexform.xml to flux.
See http://fedext.net/examples/flux/features.html for more information

Example in ext_tables.php

$TCA['tt_content']['types']['list']['subtypes_addlist']['fedexample_example'] 
= 'pi_flexform';
Tx_Flux_Core::registerFluidFlexFormPlugin(
     $_EXTKEY,
     'fedexample_example',
     'EXT:fedexample/Resources/Private/Templates/Refrigerator/List.html',
     array('section' => 'Configuration'),
     'variable:section');


Kind regards,

Wouter
On 11-9-2012 11:34, PIT Solutions wrote:
> 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