[TYPO3-english] new FORM element by TypoScript
Ralf-Rene Schröder
ralf.rene at online.de
Sun Oct 13 14:17:51 CEST 2013
hello...
sorry for crossposting from german list...
i use the new systemextension FORM and TYPO3 6.1.5
how is it possible to create a FORM output by Typoscript?
every time i put a
50 = FORM
50 {
}
in my output COA, i get the following error:
Uncaught TYPO3 Exception
#1: PHP Catchable Fatal Error: Argument 2 passed to
TYPO3\CMS\Form\Controller\FormController::cObjGetSingleExt() must be an
array, null given, called in
/html/typo3/typo3_src-6.1.5/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php
on line 732 and defined in
/html/typo3/typo3_src-6.1.5/typo3/sysext/form/Classes/Controller/FormController.php
line 93 (More information)
TYPO3\CMS\Core\Error\Exception thrown in file
/html/typo3/typo3_src-6.1.5/typo3/sysext/core/Classes/Error/ErrorHandler.php
in line 108.
__________________________________________________________________________
9 TYPO3\CMS\Core\Error\ErrorHandler::handleError(4096, "Argument 2
passed to TYPO3\CMS\Form\Controller\For…/ContentObjectRenderer.php on
line 732 and defined",
"/html/typo3/typo3_src-6.1.5/typo3/sysext/form/Classes/Controller/FormController.php",
93, array)
/html/typo3/typo3_src-6.1.5/typo3/sysext/form/Classes/Controller/FormController.php:
00091: * @return string HTML output
00092: */
00093: public function cObjGetSingleExt($typoScriptObjectName, array
$typoScript, $typoScriptKey,
\TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer $contentObject) {
00094: $content = '';
00095: if ($typoScriptObjectName === 'FORM') {
__________________________________________________________________________
8 TYPO3\CMS\Form\Controller\FormController::cObjGetSingleExt("FORM_INT",
NULL, "10", TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer)
/html/typo3/typo3_src-6.1.5/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php:
00730: foreach ($this->cObjHookObjectsArr as $cObjName => $hookObj) {
00731: if ($name === $cObjName && method_exists($hookObj,
'cObjGetSingleExt')) {
00732: $content .= $hookObj->cObjGetSingleExt($name, $conf,
$TSkey, $this);
00733: $hooked = TRUE;
00734: }
___________________________________________________________________________
--
image[FORMAT] - Ralf-René Schröder
http://www.image-format.eu ... Wir geben Ihrem Image das richtige Format
More information about the TYPO3-english
mailing list