|
|
@@ -0,0 +1,24 @@
|
|
|
+<?php
|
|
|
+defined('TYPO3_MODE') or die();
|
|
|
+
|
|
|
+$columns = array (
|
|
|
+ 'tx_opentalent_structure_id' => array (
|
|
|
+ 'label' => 'Id de la structure',
|
|
|
+ 'config' => array (
|
|
|
+ 'type' => 'input',
|
|
|
+ )
|
|
|
+ ),
|
|
|
+);
|
|
|
+
|
|
|
+\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTCAcolumns(
|
|
|
+ 'pages',
|
|
|
+ $columns
|
|
|
+);
|
|
|
+
|
|
|
+// Décommenter pour afficher le champs dans le backent (editer la page > onglet General)
|
|
|
+\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes(
|
|
|
+ 'pages',
|
|
|
+ 'tx_opentalent_structure_id',
|
|
|
+ '',
|
|
|
+ 'after:subtitle'
|
|
|
+);
|