[TYPO3-english] Multiple Content (jfmulticontent) in 7.6LTS?
Marco Kuprat
marco.kuprat at internetfabrik.de
Fri Mar 4 11:09:47 CET 2016
Hi,
> Does somebody have the solution for this 7.6 jfmulticontent problem?
> Or do we have to make the update ourselves?
you have extension compatibility6 installed? This piece of code is
responsible for the error:
if (!empty($flexFormFieldArray['config']['renderType'])) {
$options['renderType'] = $flexFormFieldArray['config']['renderType'];
} else {
// Fallback to type if no renderType is given
$options['renderType'] = $flexFormFieldArray['config']['type'];
}
$childResult = $this->nodeFactory->create($options)->render();
It cares for setting the option 'renderType' to 'type' if no 'renderType'
found so that nodeFactory->create() won't complain.
However, in flexform_ds.xml there are some (I think 46) occurrences where
'type' isn't defined either. These are entries where
"<form_type>user</form_type>" is located.
You have to search for these entries and prepend them with:
<type>select</type>
<renderType>selectSingle</renderType>
One example:
A piece of code like this:
<config>
<form_type>user</form_type>
<userFunc><![CDATA[EXT:jfmulticontent/lib/class.tx_jfmulticontent_tceFunc.ph
p:&tx_jfmulticontent_tceFunc->getCheckbox]]></userFunc>
<checked>0</checked>
</config>
should be changed to:
<config>
<type>select</type>
<renderType>selectSingle</renderType>
<form_type>user</form_type>
<userFunc><![CDATA[EXT:jfmulticontent/lib/class.tx_jfmulticontent_tceFunc.ph
p:&tx_jfmulticontent_tceFunc->getCheckbox]]></userFunc>
<checked>0</checked>
</config>
Regards
Marco
More information about the TYPO3-english
mailing list