pages.php 559 B

123456789101112131415161718192021222324
  1. <?php
  2. defined('TYPO3_MODE') or die();
  3. $columns = array (
  4. 'tx_opentalent_structure_id' => array (
  5. 'label' => 'Id de la structure',
  6. 'config' => array (
  7. 'type' => 'input',
  8. )
  9. ),
  10. );
  11. \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTCAcolumns(
  12. 'pages',
  13. $columns
  14. );
  15. // Décommenter pour afficher le champs dans le backent (editer la page > onglet General)
  16. \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes(
  17. 'pages',
  18. 'tx_opentalent_structure_id',
  19. '',
  20. 'after:subtitle'
  21. );