[TYPO3-german] FlexForm-Fehler

Peter Russ "peter,russ" at 4many.net
Thu Feb 19 20:39:04 CET 2009


--- Original Nachricht ---
Absender:   David Bruchmann
Datum:       19.02.2009 20:24:
> Hy Markus,
> 
> wenn Du in der Funktion ein t3lib_div::debug($config) einbaust bekommst 
> Du normalerweise einen Array angezeigt:
> 
> $config = Array(
>     'items' => Array(...),
>     'config' => Array(
>         'type' => 'select',
>         'items' => array(
>             0 => array(0 => '--'),
>             1 => array(0 => '0'),
>         ),
>         'itemsProcFunc' => 'tx_extname_pi1->addSubModes'
>         'form_type' => 'select'
>     ),
>     'TSconfig' => '',
>     'table' => 'tt_content',
>     'row' => array(...),
>     'field' => 'pi_flexform'
> );
> 

NICHT FORSCHEN:
  wie bereits gesagt, nenne deine Funktion etsprechend Konvention:
tx_extname_pi1->user_addSubModes
oder tx_extname_pi1->tx_addSubModes

dann klappt es auch, wenn du den anderen Fehler auch beseitigt hast.

Peter.


-- 
Fiat lux!
Docendo discimus.
http://www.gidf.de

_____________________________
4Many� Services
uon GbR

XING:	http://www.xing.com/profile/Peter_Russ
	https://www.xing.com/go/invita/360052
	http://www.xing.com/go/privatemessage/Peter_Russ


More information about the TYPO3-german mailing list