Advertisement
Guest User

Untitled

a guest
Jan 30th, 2015
167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. <?php
  2. if (!defined ('TYPO3_MODE')) {
  3. die ('Access denied.');
  4. }
  5.  
  6. $TCA['tx_ext_domain_model_whatever'] = array(
  7. 'ctrl' => $TCA['tx_ext_domain_model_whatever']['ctrl'],
  8. 'interface' => array(
  9. 'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden',
  10. ),
  11. 'types' => array(
  12. '1' => array('showitem' => 'hidden;;1,myCoolNewOwnField'),
  13. ),
  14. 'palettes' => array(
  15. '1' => array('showitem' => ''),
  16. ),
  17. 'columns' => array(
  18. 'template_content' => array(
  19. 'exclude' => 0,
  20. 'label' => 'My cool new own field',
  21. 'config' => array (
  22. 'type' => 'user',
  23. 'userFunc' => 'EXT:ext/Classes/UserFunction/class.tx_ext_myCustomField.php:tx_ext_myCustomField->getMyCustomField',
  24. 'parameters' => array(
  25. 'isCool' => TRUE
  26. ),
  27. ),
  28. ),
  29. ),
  30. );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement