[TYPO3-core] Provide default values for created records

Sebastian Michaelsen michaelsen at t3seo.de
Fri Mar 8 10:08:21 CET 2013


Let's say you have an IRRE fields that hold's tt_content records and in this context mostly you want to use the "Image" CE.

AFAIK there is no possibility to provide default values for IRRE fields. So I'd like to introduce 'foreign_table_defaultValues' as new option for 'inline' elements (the naming of the new option might be improved):

config => array(
  'type' => 'inline',
  'foreign_table' => 'tt_content',
  'foreign_table_defaultValues' => array(
    'CType' => 'image'
  ),
)

Please tell me if i'm missing something and this can already be achieved somehow.
What do you think about such a feature?


More information about the TYPO3-team-core mailing list