diff --git a/public/typo3conf/ext/ep_theme/Classes/Hooks/PageLayoutView/TeaserBookingLinkPreviewRenderer.php b/public/typo3conf/ext/ep_theme/Classes/Hooks/PageLayoutView/TeaserBookingLinkPreviewRenderer.php new file mode 100644 index 00000000..b89fe57b --- /dev/null +++ b/public/typo3conf/ext/ep_theme/Classes/Hooks/PageLayoutView/TeaserBookingLinkPreviewRenderer.php @@ -0,0 +1,21 @@ +data['tx_eptheme_context_product']; + $images = $this->getImages($productUid, 'tx_epproducts_domain_model_product', 'teaser_images'); + $product = BackendUtility::getRecord('tx_epproducts_domain_model_product', $productUid); + return [ + 'images' => $images, + 'product' => $product, + ]; + } +} diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Templates/PreviewRenderer/TeaserBookingLink.html b/public/typo3conf/ext/ep_theme/Resources/Private/Templates/PreviewRenderer/TeaserBookingLink.html new file mode 100644 index 00000000..e12ce445 --- /dev/null +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Templates/PreviewRenderer/TeaserBookingLink.html @@ -0,0 +1,23 @@ +{namespace be=TYPO3\CMS\Backend\ViewHelpers} +
+ Teaser Buchungslink +
+
+