@@ -81,7 +81,7 @@ class ConceptController extends ActionController
|
|||||||
|
|
||||||
$filterSettings = ['conceptUids' => $teaserConceptUids];
|
$filterSettings = ['conceptUids' => $teaserConceptUids];
|
||||||
$excludedConceptUids = GeneralUtility::trimExplode(',', $this->settings['excludedConceptUids'], true);
|
$excludedConceptUids = GeneralUtility::trimExplode(',', $this->settings['excludedConceptUids'], true);
|
||||||
$limit = $this->settings['showMoreLink'] ? 4 : 0;
|
$limit = $this->settings['showMoreLink'] ? 6 : 0;
|
||||||
$teasers = $this->productDataService->getTeasergroup($filterSettings, $excludedConceptUids, $limit);
|
$teasers = $this->productDataService->getTeasergroup($filterSettings, $excludedConceptUids, $limit);
|
||||||
$pages = $this->pageRepository->findPagesByPid((int)$this->settings['conceptsPageUid']);
|
$pages = $this->pageRepository->findPagesByPid((int)$this->settings['conceptsPageUid']);
|
||||||
$data = $this->configurationManager->getContentObject()->data;
|
$data = $this->configurationManager->getContentObject()->data;
|
||||||
|
|||||||
@@ -69,7 +69,7 @@ class CountryController extends ActionController
|
|||||||
'countryUids' => [ $countryUid ],
|
'countryUids' => [ $countryUid ],
|
||||||
];
|
];
|
||||||
$excludedConceptUids = GeneralUtility::trimExplode(',', $this->settings['excludedConceptUids'], true);
|
$excludedConceptUids = GeneralUtility::trimExplode(',', $this->settings['excludedConceptUids'], true);
|
||||||
$limit = $this->settings['showMoreLink'] ? 4 : 0;
|
$limit = $this->settings['showMoreLink'] ? 6 : 0;
|
||||||
$teasers = $this->productDataService->getTeasergroup($filterSettings, $excludedConceptUids, $limit);
|
$teasers = $this->productDataService->getTeasergroup($filterSettings, $excludedConceptUids, $limit);
|
||||||
$this->view->assign('teasers', $teasers);
|
$this->view->assign('teasers', $teasers);
|
||||||
$this->view->assign('country', $country);
|
$this->view->assign('country', $country);
|
||||||
|
|||||||
@@ -94,7 +94,7 @@ class HotelController extends ActionController
|
|||||||
'hotelUid' => $hotelUid,
|
'hotelUid' => $hotelUid,
|
||||||
];
|
];
|
||||||
$excludedConceptUids = GeneralUtility::trimExplode(',', $this->settings['excludedConceptUids'], true);
|
$excludedConceptUids = GeneralUtility::trimExplode(',', $this->settings['excludedConceptUids'], true);
|
||||||
$limit = $this->settings['showMoreLink'] ? 4 : 0;
|
$limit = $this->settings['hideMoreLink'] ? 0 : 6;
|
||||||
$teasers = $this->productDataService->getTeasergroup($filterSettings, $excludedConceptUids, $limit);
|
$teasers = $this->productDataService->getTeasergroup($filterSettings, $excludedConceptUids, $limit);
|
||||||
$this->view->assign('hotel', $hotel);
|
$this->view->assign('hotel', $hotel);
|
||||||
$this->view->assign('teasers', $teasers);
|
$this->view->assign('teasers', $teasers);
|
||||||
|
|||||||
@@ -233,7 +233,7 @@ class ProductController extends ActionController
|
|||||||
$filterSettings = $this->filterService->getFiltersettingsFromSettings($this->settings);
|
$filterSettings = $this->filterService->getFiltersettingsFromSettings($this->settings);
|
||||||
$dateAuto = !$this->settings['dateFrom'] && !$this->settings['dateTo'];
|
$dateAuto = !$this->settings['dateFrom'] && !$this->settings['dateTo'];
|
||||||
$excludedConceptUids = GeneralUtility::trimExplode(',', $this->settings['excludedConceptUids'], true);
|
$excludedConceptUids = GeneralUtility::trimExplode(',', $this->settings['excludedConceptUids'], true);
|
||||||
$limit = $this->settings['showMoreLink'] ? 4 : 0;
|
$limit = $this->settings['hideMoreLink'] ? 0 : 6;
|
||||||
$teasers = $this->productDataService->getTeasergroup($filterSettings, $excludedConceptUids, $limit);
|
$teasers = $this->productDataService->getTeasergroup($filterSettings, $excludedConceptUids, $limit);
|
||||||
$dateFrom = $this->settings['dateFrom'] ? date('Y-m-d', $this->settings['dateFrom']) : null;
|
$dateFrom = $this->settings['dateFrom'] ? date('Y-m-d', $this->settings['dateFrom']) : null;
|
||||||
$dateTo = $this->settings['dateTo'] ? date('Y-m-d', $this->settings['dateTo']) : null;
|
$dateTo = $this->settings['dateTo'] ? date('Y-m-d', $this->settings['dateTo']) : null;
|
||||||
|
|||||||
@@ -74,7 +74,7 @@ class RegionController extends ActionController
|
|||||||
'regionUids' => $teaserRegionUids,
|
'regionUids' => $teaserRegionUids,
|
||||||
];
|
];
|
||||||
$excludedConceptUids = GeneralUtility::trimExplode(',', $this->settings['excludedConceptUids'], true);
|
$excludedConceptUids = GeneralUtility::trimExplode(',', $this->settings['excludedConceptUids'], true);
|
||||||
$limit = $this->settings['showMoreLink'] ? 4 : 0;
|
$limit = $this->settings['hideMoreLink'] ? 0 : 6;
|
||||||
$teasers = $this->productDataService->getTeasergroup($filterSettings, $excludedConceptUids, $limit);
|
$teasers = $this->productDataService->getTeasergroup($filterSettings, $excludedConceptUids, $limit);
|
||||||
$this->view->assign('teasers', $teasers);
|
$this->view->assign('teasers', $teasers);
|
||||||
$this->view->assign('region', $region);
|
$this->view->assign('region', $region);
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
xmlns:f="http://typo3.org/ns/fluid/ViewHelpers">
|
xmlns:f="http://typo3.org/ns/fluid/ViewHelpers">
|
||||||
|
|
||||||
<f:section name="Teaser">
|
<f:section name="Teaser">
|
||||||
<div class="product-teaser flex flex-col h-full bg-white group{f:if(condition: landscape, then: ' sm:flex-row sm:h-auto')}{f:if(condition: '{index} > 2', then: ' lg:hidden')}">
|
<div class="product-teaser flex flex-col h-full bg-white group{f:if(condition: landscape, then: ' sm:flex-row sm:h-auto')}">
|
||||||
<f:render section="TeaserImage" arguments="{_all}"/>
|
<f:render section="TeaserImage" arguments="{_all}"/>
|
||||||
<f:render section="TeaserContent" arguments="{_all}"/>
|
<f:render section="TeaserContent" arguments="{_all}"/>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user