[Typo3] $this->cObj->data["pi_flexform"] is emtpy, pi_getFFvalue not work

Stefan Kreisberg stefanNOSPAM at linkfactory.dk
Tue May 17 14:30:52 CEST 2005


Sounds to me like a question for the dev-list :-D
A perhaps stupid question: Did you remember to include the flexform in
ext_tables.php?

rgs, Stefan a.k.a. Strato

Richard wrote:

> 
> In my extension, I want to retrieve data from a flexiform and they don't
> work.
> 
> I try to retrieve data white pi_getFFvalue function.
> 
> 
>  $this->pi_initPIflexForm();
>  $piFlexForm = $this->cObj->data["pi_flexform"];
> debug($this->pi_getFFvalue($piFlexForm, "feusers_pid", "SDEF"));
> 
> 
> 
> 
> when I debug  $this->cObj->data["pi_flexform"]  is emtpy
> 
> I think is normale the pi_getFFvalue function return "" if
> $this->cObj->data["pi_flexform"]  is emtpy
> 
> Why $this->cObj->data["pi_flexform"] is empty?
> 
> 
> Flexiform inside database:
> 
> <?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
> <T3FlexForms>
>     <data type="array">
>         <sDEF type="array">
>             <lDEF type="array">
>                 <feusers_pid type="array">
>                     <vDEF>hjhjhj</vDEF>
>                 </feusers_pid>
>             </lDEF>
>         </sDEF>
>         <s_profiles type="array">
>             <lDEF type="array">
>                 <disable_profile type="array">
>                     <vDEF>5t4654</vDEF>
>                 </disable_profile>
>             </lDEF>
>         </s_profiles>
>     </data>
> </T3FlexForms>
> 
> 
> Richard :)




More information about the TYPO3-english mailing list