[TYPO3-english] Return Flexform results from a different PID

Xavier Perseguers xavier at typo3.org
Wed Nov 23 13:33:15 CET 2011

Hi Roel,

> Currently, when I try to return the values from a Flexform, I can only do
> so while I'm in the _pi1 of the same PID as where the Flexform is located.
> I can't specify which Flexform values to retrieve from whih PID.. I'm using
> this function:
> /* FlexForm values loading function */
> function initFlexFormVals(){
> /* Function that gets the BE configuration settings from the FlexForm
> Plugin: */
> $this->pi_initPIflexForm(); // Init and get the flexform data of the plugin

^^^^ Have a look at what this function does and then you'll see that you
may "load" the pi_flexform from another tt_content row by simply
retrieve it by code, the rest stays the same.


Xavier Perseguers
Release Manager TYPO3 4.6

TYPO3 .... inspiring people to share!
Get involved: http://typo3.org

More information about the TYPO3-english mailing list