[TYPO3-dev] Howto work with user-defined flexform
Joerg Schoppet
joerg at schoppet.de
Mon Jun 4 07:49:54 CEST 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Joerg Schoppet wrote:
> Hi,
>
> I've the following question:
>
> I've extended the fe_users-table with a config-field for my extension.
> This config-field is a flexform.
>
> To edit an existing fe_user I can simple load the flexform in a
> php-array with t3lib_div::xml2array().
>
> If a user haven't a flexform I can load it with:
> t3lib_div::loadTCA('fe_users');
> $_EXTKEY = 'myext';
> include($GLOBALS['TYPO3_LOADED_EXT']['jrenmoac']['ext_tables.php']);
> $temp =
> t3lib_BEfunc::geFlexformDS($GLOBALS['TCA']['fe_users']['columns']['tx_myext_config']['config'],
> array(),'fe_users');
>
>
> BUT:
> If I convert $temp with t3lib_div::arrary2xml() I get another output as
> if I save the flexform in the BE AND I've to use a BEfunc in the frontend.
>
> Is there any specific way to load AND save such flexform-fields from
> within a frontend-plugin?
>
>
> Kind Regards
>
> Joerg Schoppet
Have nobody ever tried to work with flexforms in the FE, or have I
explained it mistakable.
Regards
Joerg Schoppet
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGY6gCq5Me6rRDqPURAp3YAKC1+UAhBtZE5WAT2eOwXOxQkaGdqwCfRTDn
8Kfl2owjypZe+LjZHh2P1Nw=
=oMsC
-----END PGP SIGNATURE-----
More information about the TYPO3-dev
mailing list