[TYPO3-mvc] extbase & flexform

Michael Knoll mimi at kaktusteam.de
Tue Dec 27 23:53:44 CET 2011


Hi,

I don't have a 'direct solution', but you can look at what we are doing 
in our gallery extension.

Here is the flexform:
https://github.com/michaelknoll/yag/blob/master/Configuration/FlexForms/Flexform.xml

Here is how we include if from within ext_tables.php:
https://github.com/michaelknoll/yag/blob/master/ext_tables.php


Hope this helps!

Greez

Mimi




Am 20.12.11 11:01, schrieb Grummfy:
> Hi everyone,
>
> I have already posted this message on typo3-dev but It seems that nobody
> have an answer on this ml so I try here sorry for people that already have
> seen this message.
>
>
> I try to use a flexform to configure frontend plugins developped in
> extbase/fluid on Typo3 4.6.1 (dev on windows, php 5.3.1).
>
> In the backend the flexform seems to have a problem to refill informations
> all fields are all time empty.
>
> my flexform : http://pastebin.com/EnZPuwEz
> in database there is this :
> <?xml version="1.0" encoding="utf-8" standalone="yes" ?>
> <T3FlexForms>
>      <data type="array">
>          <sDEF type="array">
>              <lDEF type="array">
>                  <settingstest type="array">
>                      <vDEF>abc</vDEF>
>                  </settingstest>
>                  <settingstoto type="array">
>                      <vDEF>2196</vDEF>
>                  </settingstoto>
>              </lDEF>
>          </sDEF>
>      </data>
> </T3FlexForms>
>
> How I configure it (in ext_tables.php) :
> $pluginSignature = str_replace('_', '', $_EXTKEY) . '_exttest';
> $TCA['tt_content']['types']['list']['subtypes_excludelist'][
> $pluginSignature ] = 'layout,select_key,recursive';
> $TCA['tt_content']['types']['list']['subtypes_addlist'][ $pluginSignature ]
> = 'pi_flexform';
> t3lib_extMgm::addPiFlexFormValue($pluginSignature, 'FILE:EXT:' . $_EXTKEY .
> '/Configuration/FlexForms/flexform.xml');
>
> All flexform with extbase (in any extension) doesn't work properly.
>
> If I remove the dots and use "settingstest" instead of "settings.test" the
> flexform work properly!
>
> Anyone have an idea how to resolve this problems?
>
> Thanks
>



More information about the TYPO3-project-typo3v4mvc mailing list