Skip to content
Snippets Groups Projects
Commit fe621011 authored by Dominik Beyer's avatar Dominik Beyer
Browse files

[TASK] Render breadcrumb in news single view

parent 9afe4def
No related branches found
No related tags found
No related merge requests found
......@@ -3,9 +3,12 @@
{namespace base=SGalinski\ProjectBase\ViewHelpers}
{namespace sg=SGalinski\SgNews\ViewHelpers}
{namespace sgajax=SGalinski\SgAjax\ViewHelpers}
{namespace v=FluidTYPO3\Vhs\ViewHelpers}
<f:section name="main">
<f:alias map="{authorCount: '{newsMetaData.news.newsAuthor -> f:count()}'}">
<f:alias map="{authorCount: '{newsMetaData.news.newsAuthor -> f:count()}',
breadcrumbPath: '{v:variable.typoscript(path: \'lib.navigation.breadcrumb\')}',
breadcrumbSchemaPath: '{v:variable.typoscript(path: \'lib.navigation.breadcrumb_schema\')}'}">
<f:render partial="SingleViewSchema" arguments="{_all}"/>
<div class="intro-section">
......@@ -88,6 +91,12 @@
</div>
</div>
</section>
<f:if condition="{breadcrumbPath}">
<f:cObject typoscriptObjectPath="lib.navigation.breadcrumb" />
</f:if>
<f:if condition="{breadcrumbSchemaPath}">
<f:cObject typoscriptObjectPath="lib.navigation.breadcrumb_schema" />
</f:if>
</div>
<section class="content">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment