[TYPO3-dev] default selected category when using makeCategorizable()
Wolfgang Klinger
wk at plan2.net
Tue Jun 17 17:58:09 CEST 2014
*hiya!*
On 17 Jun 2014, at 17:49, Sascha <lsascha at gmail.com> wrote:
>
> $tableName = 'tx_artikel_domain_model_artikel';
> \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::makeCategorizable(
> $_EXTKEY,
> $tableName,
> $fieldName = 'kategorie',
> $options = array() );
what I see from documentation it should work with the following options array (last parameter):
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::makeCategorizable(
…,
array(
'fieldConfiguration' => array(
default => '1'
)
)
);
(have not tried it myself yet, but let’s see if it works :-) )
kind regards
Wolfgang
More information about the TYPO3-dev
mailing list