fix: favicons and the schema.org logo use the published resource path
They pointed to /typo3conf/ext/..., which only exists in the static docroots. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
80fe3100ae
commit
e733a53935
2 files changed
+26
-24
No files matched your search
@@ -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),
|
||||
|
||||
Reference in new issue
Block a user