[TYPO3-dev] show info from flexform on FE

Dmitry Dulepov [typo3] dmitry at typo3.org
Tue Sep 11 14:51:48 CEST 2007


Hi!

Bas van der Togt wrote:
> I build a flexform and now i want tot get the information from the 
> flexform into the frontend.
> 
> This is working (but now i get the whole xml.):
> $content.= $this->cObj->data['pi_flexform'];
> 
> I only want to show the info from the flexform.
> So i tried this, but it's not working. Does anybody know why?
> $content.= $this->pi_getFFvalue($this->cObj->data['pi_flexform'], 
> 'what_to_display', 'sDEF');

Did you call a function to initialize flexform prior to calling 
pi_getFFvalue()?

-- 
Dmitry Dulepov
TYPO3 freelancer / TYPO3 core team member
Web: http://typo3bloke.net/
Skype: callto:liels_bugs




More information about the TYPO3-dev mailing list