Render submenu on concept detail pages
This commit is contained in:
@@ -72,9 +72,11 @@ class ConceptController extends ActionController
|
||||
$excludedConceptUids = GeneralUtility::trimExplode(',', $this->settings['excludedConceptUids'], true);
|
||||
$limit = $this->settings['showMoreLink'] ? 4 : 0;
|
||||
$teasers = $this->productService->getTeasergroup($filterSettings, $excludedConceptUids, $limit);
|
||||
$this->view->assign('teasers', $teasers);
|
||||
$this->view->assign('concept', $concept);
|
||||
$this->view->assign('filterSettings', $filterSettings);
|
||||
$this->view->assignMultiple([
|
||||
'teasers' => $teasers,
|
||||
'concept' => $concept,
|
||||
'filterSettings' => $filterSettings,
|
||||
]);
|
||||
}
|
||||
|
||||
public function teasergroupAction()
|
||||
|
||||
@@ -16,5 +16,6 @@ plugin.tx_epproducts {
|
||||
showSkipassBadge = {$plugin.tx_eptheme.settings.showSkipassBadge}
|
||||
ratingWidgetLabel = {$plugin.tx_eptheme.settings.ratingWidgetLabel}
|
||||
skipassPageUid = {$plugin.tx_eptheme.settings.skipassPageUid}
|
||||
conceptsPageUid = {$plugin.tx_eptheme.settings.conceptsPageUid}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -49,6 +49,8 @@ plugin.tx_eptheme {
|
||||
skipassPageUid =
|
||||
# cat=eptheme/200/280; type=string; label=English page UID
|
||||
englishPageUid =
|
||||
# cat=eptheme/200/290; type=string; label=Concepts page UID
|
||||
conceptsPageUid =
|
||||
|
||||
# cat=eptheme/400/100; type=string; label=Phone number general
|
||||
phoneNumber = 0221 - 272 276 0
|
||||
|
||||
@@ -85,6 +85,7 @@ plugin.tx_eptheme {
|
||||
watchlistPageUid = {$plugin.tx_eptheme.settings.watchlistPageUid}
|
||||
skipassPageUid = {$plugin.tx_eptheme.settings.skipassPageUid}
|
||||
englishPageUid = {$plugin.tx_eptheme.settings.englishPageUid}
|
||||
conceptsPageUid = {$plugin.tx_eptheme.settings.conceptsPageUid}
|
||||
}
|
||||
view {
|
||||
templateRootPaths.0 = EXT:ep_theme/Resources/Private/Templates
|
||||
|
||||
@@ -55,8 +55,18 @@
|
||||
</a>
|
||||
</p>
|
||||
</f:if>
|
||||
<img class="img-responsive lazy" data-src="{f:uri.image(image: concept.teaserImage, width: '330')}"
|
||||
alt="{concept.teaserImage.alternative}" title="{concept.teaserImage.title}">
|
||||
<v:menu pageUid="{settings.conceptsPageUid}" levels="1">
|
||||
<ul class="list-unstyled">
|
||||
<f:for each="{menu}" as="page">
|
||||
<li>
|
||||
<f:link.typolink parameter="{page.uid}"
|
||||
class="btn btn-warning ep-sidebar{f:if(condition: '{page.active}', then: ' active')}">
|
||||
{page.title}
|
||||
</f:link.typolink>
|
||||
</li>
|
||||
</f:for>
|
||||
</ul>
|
||||
</v:menu>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user