[TYPO3] Accessing flexforms from backend module
Dmitry Dulepov [typo3]
dmitry at typo3.org
Mon Aug 18 16:50:59 CEST 2008
Hi!
Steffen Gebert wrote:
> Is there any way to use flexforms in a backend module AND later access it's
> values in the same backend module?
>
> We want to extend aux_newsmailer to enable user to select records, which
> should be sent and so have to select records in BE and read out (at
> sending), what was selected.
>
> Because of it's a backend module, we can't access pibase::get_FFValue
> (right?) - so is there any solution or any better way to give user the
> ability to select multiple records out of a list (of tt_news records).
You can see how code in tslib_pibase works and do the same. Generally it means decoding xml to array and accessing array. But don't do a home made solution because there are several flexform formats. TYPO3 know them all and handle transparently for you. See tslib_pibase.
--
Dmitry Dulepov
TYPO3 Core team
My TYPO3 book: http://www.packtpub.com/typo3-extension-development/book
In the blog: http://typo3bloke.net/post-details/typo3_code_formatting_in_eclipse/
More information about the TYPO3-english
mailing list