Advertisement
taliteo

TCA für FAL-Felder

Mar 12th, 2013
553
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.73 KB | None | 0 0
  1. 'productimage' => array(
  2.         'exclude' => 0,
  3.         'label' => 'LLL:EXT:in2msiproducts/Resources/Private/Language/locallang_db.xlf:tx_in2msiproducts_domain_model_product.productimage',
  4.         'config' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig('productimage', array(
  5.             'appearance' => array(
  6.                 'createNewRelationLinkTitle' => 'LLL:EXT:cms/locallang_ttc.xlf:images.addFileReference'
  7.             ),
  8.             'foreign_types' => array(
  9.                 \TYPO3\CMS\Core\Resource\File::FILETYPE_IMAGE => array(
  10.                     'showitem' => '
  11.                     --palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
  12.                     --palette--;;filePalette'
  13.                 ),
  14.             )
  15.         ), $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'])
  16.     ),
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement