[TYPO3-project-formidable] problem with 2 instances of formidable

Jerome Schneider typo3dev at ameos.com
Mon Oct 29 16:09:48 CET 2007


Hello Fabien,

Actualy the screencasts tutorials for lists are out-dated, because the 
datahandler:LISTER is now deprecated.
You should rather use the simpler and more flexible concept of 
renderlet:LISTER ( instead of datahandler:LISTER ) as demonstrated here:

http://www.ameos.com/formidable/features/new-concept-for-listsearch.html
http://www.ameos.com/formidable/features/new-list-concept-list-bound-to-an-array.html
http://www.ameos.com/formidable/features/new-cached-lists-concept.html

Regards,
Jerome


Fabien Udriot a écrit :
> This a backend module. Does it influence something ?
> 
> Fabien Udriot a écrit :
>> Hi,
>>
>> I tried to combinate an "insert form" with a "lister" as show on the 
>> tutorial :
>> http://www.ameos.com/fileadmin/formidable/sc5/flv-sc5.html
>>
>> I get a nasty database error :
>> http://omic.ch/pictures/Picture6.png
>>
>>
>> Here is the PHP code :
>>
>> //init the formidable objects
>> $this->oForm = t3lib_div::makeInstance ( "tx_ameosformidable" ) ;
>> $this->oForm->init ( $this, t3lib_extmgm::extPath ( 'ecousers' ) . 
>> "mod2/res/form.xml" ) ;
>> $this->content .= $this->oForm->render () ;
>>
>> $this->oList = t3lib_div::makeInstance ( "tx_ameosformidable" ) ;
>> $this->oList->init ( $this, t3lib_extmgm::extPath ( 'ecousers' ) . 
>> "mod2/res/list.xml" ) ;
>> $this->content .= $this->oList->render () ;
>>
>>
>> Is there a new way to do it ? If I comment the $this->oList->init(), 
>> the error disappears.
>>
>> best regards,
>>
>> Fabien
>>
>> Ps. I updated the formdiable to revision 145.


More information about the TYPO3-project-formidable mailing list