diff --git a/Configuration/TCA/Overrides/pages.php b/Configuration/TCA/Overrides/pages.php index ee422e4..057b120 100644 --- a/Configuration/TCA/Overrides/pages.php +++ b/Configuration/TCA/Overrides/pages.php @@ -11,6 +11,18 @@ \TYPO3\CMS\Core\Utility\ArrayUtility::mergeRecursiveWithOverrule($GLOBALS['TCA'][$tableName], [ 'columns' => [ + 'rel' => [ + 'label' => 'rel Attribute of generated a Tag', + 'config' => [ + 'type' => 'input', + ], + ], + 'url' => [ + 'config' => [ + 'renderType' => 'inputLink', + 'softref' => 'typolink', + ], + ], 'lastUpdated' => [ 'label' => $languagePath . 'lastUpdated', 'config' => [ @@ -25,4 +37,11 @@ ], ]); + \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes( + $tableName, + 'rel', + \TYPO3\CMS\Core\Domain\Repository\PageRepository::DOKTYPE_LINK, + 'after:url' + ); + })('ds_site', 'pages'); diff --git a/Configuration/TypoScript/Setup/Page.typoscript b/Configuration/TypoScript/Setup/Page.typoscript index 4600156..10293b8 100644 --- a/Configuration/TypoScript/Setup/Page.typoscript +++ b/Configuration/TypoScript/Setup/Page.typoscript @@ -124,7 +124,7 @@ page { 1000 = TYPO3\CMS\Frontend\DataProcessing\MenuProcessor 1000 { - as = footerMenu + as = mainMenu special = list special.value = 3 levels = 2 diff --git a/Resources/Private/Partials/Page/Footer.html b/Resources/Private/Partials/Page/Footer.html index 58b2f96..bb6c8ed 100644 --- a/Resources/Private/Partials/Page/Footer.html +++ b/Resources/Private/Partials/Page/Footer.html @@ -1,7 +1,6 @@