diff --git a/packages/ep_theme/Classes/DataProcessing/ProductRatingProcessor.php b/packages/ep_theme/Classes/DataProcessing/ProductRatingProcessor.php index 30cb562..858dfc8 100644 --- a/packages/ep_theme/Classes/DataProcessing/ProductRatingProcessor.php +++ b/packages/ep_theme/Classes/DataProcessing/ProductRatingProcessor.php @@ -3,6 +3,7 @@ namespace EP\EpTheme\DataProcessing; use EP\EpProducts\Traits\DbConnectionTrait; +use TYPO3\CMS\Core\Utility\PathUtility; use TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer; use TYPO3\CMS\Frontend\ContentObject\DataProcessorInterface; @@ -54,9 +55,9 @@ class ProductRatingProcessor implements DataProcessorInterface 'areaServed' => 'DE', 'availableLanguage' => 'German' ], - 'logo' => 'https://www.ep-reisen.de/typo3conf/ext/ep_theme/Resources/Public/images/logo_wide.svg', + 'logo' => 'https://www.ep-reisen.de/' . PathUtility::getPublicResourceWebPath('EXT:ep_theme/Resources/Public/images/logo_wide.svg', false), 'priceRange' => '€', - 'image' => 'https://www.ep-reisen.de/typo3conf/ext/ep_theme/Resources/Public/images/logo_wide.svg', + 'image' => 'https://www.ep-reisen.de/' . PathUtility::getPublicResourceWebPath('EXT:ep_theme/Resources/Public/images/logo_wide.svg', false), 'aggregateRating' => [ '@type' => 'AggregateRating', 'ratingValue' => number_format($totalAverage/$ratedCount, 2), diff --git a/packages/ep_theme/Configuration/TypoScript/Page/Main.typoscript b/packages/ep_theme/Configuration/TypoScript/Page/Main.typoscript index 683e6f5..e78f894 100644 --- a/packages/ep_theme/Configuration/TypoScript/Page/Main.typoscript +++ b/packages/ep_theme/Configuration/TypoScript/Page/Main.typoscript @@ -42,29 +42,30 @@ page { headerData.333 = TEXT headerData.333.value ( - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + ) + headerData.333.insertData = 1 # disableCompression keeps ResourceCompressor's hands off the Encore entries: Webpack # already minifies them, and copying them to typo3temp/assets/compressed only replaces the