From c46adcb932a2eb11b550bc28f029f3580b0441b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bjo=CC=88rn=20Fromme?= Date: Thu, 13 Jun 2019 14:44:09 +0200 Subject: [PATCH] Remove usage of unsupported extension --- .../ext/ep_theme/Classes/Userfuncs/Tca.php | 49 ------------------- .../Overrides/tx_news_domain_model_news.php | 30 ------------ 2 files changed, 79 deletions(-) delete mode 100644 public/typo3conf/ext/ep_theme/Classes/Userfuncs/Tca.php delete mode 100644 public/typo3conf/ext/ep_theme/Configuration/TCA/Overrides/tx_news_domain_model_news.php diff --git a/public/typo3conf/ext/ep_theme/Classes/Userfuncs/Tca.php b/public/typo3conf/ext/ep_theme/Classes/Userfuncs/Tca.php deleted file mode 100644 index e9596f08..00000000 --- a/public/typo3conf/ext/ep_theme/Classes/Userfuncs/Tca.php +++ /dev/null @@ -1,49 +0,0 @@ -getConfiguration( - ConfigurationManagerInterface::CONFIGURATION_TYPE_FULL_TYPOSCRIPT - ); - $pageUid = $configuration['plugin.']['tx_eptheme.']['settings.']['blogDetailPageUid']; - $parameters = [ - 'tx_news_pi1' => [ - 'news' => $uid, - ] - ]; - - return \tx_pagepath_api::getPagePath($pageUid, $parameters); - } - - public function getDeeplinkForPage($PA, $fObj) - { - if (!is_numeric($PA['row']['uid'])) { - return 'Wird nach dem Speichern angezeigt.'; - } - $pageUid = $PA['row']['uid']; - - return \tx_pagepath_api::getPagePath($pageUid); - } - - public function getDeeplinkForStaticSearchparams($PA, $fObj) - { - if (!is_numeric($PA['row']['uid'])) { - return 'Wird nach dem Speichern angezeigt.'; - } - - return 'https://www.ep-reisen.de/reiseauswahl/' . $PA['row']['path_segment']; - } -} diff --git a/public/typo3conf/ext/ep_theme/Configuration/TCA/Overrides/tx_news_domain_model_news.php b/public/typo3conf/ext/ep_theme/Configuration/TCA/Overrides/tx_news_domain_model_news.php deleted file mode 100644 index fea8e098..00000000 --- a/public/typo3conf/ext/ep_theme/Configuration/TCA/Overrides/tx_news_domain_model_news.php +++ /dev/null @@ -1,30 +0,0 @@ - [ - 'exclude' => 0, - 'label' => 'Deeplink', - 'config' => [ - 'type' => 'user', - 'userFunc' => \EP\EpTheme\Userfuncs\Tca::class . '->getDeeplinkForNews', - ] - ] - ]; - - \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTCAcolumns( - 'tx_news_domain_model_news', - $temporaryColumns - ); - - \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes( - 'tx_news_domain_model_news', - 'deeplink', - '', - 'before:title' - ); - -});