[TYPO3] Flexform data not in $this->cObj->data
Marcel Douwstra
marcel.douwstra at tros.nl
Thu Jan 4 11:38:01 CET 2007
Hi Peter,
thanx for your reply. Too bad it doesn't solve my problem.
In your example (which I also tried in my extension) you do this:
$blabla = $this->pi_getFFvalue($this->cObj->data['pi_flexform'],
'field_blabla');
This however requires pi_flexform to be present in $this->cObj->data. My
whole problem is that is not, allthough it is definitely stored in the
database. Do you maybe have some other suggestions I could try?
Thanx,
Marcel Douwstra
Peter Klein schreef:
> Hi Marcel. You need to use one of the 2 FF functions to get your flexform
> values
>
> function
> pi_getFFvalue($T3FlexForm_array,$fieldName,$sheet='sDEF',$lang='lDEF',$value='vDEF')
>
> or
>
> function pi_getFFvalueFromSheetArray($sheetArray,$fieldNameArr,$value)
>
>
> I personally do it like this:
>
> $blabla = $this->pi_getFFvalue($this->cObj->data['pi_flexform'],
> 'field_blabla');
>
> --
> Peter Klein / Umloud Untd.
More information about the TYPO3-english
mailing list