Discussion:
[TYPO3-english] Breadcrumb ViewHelper and hidden pages
Dmitry
2018-03-29 16:55:05 UTC
Permalink
Hi all,
I use vhs view helper for breadcrumb. I need to have my own template for renering breadcrumb.

If I call viewhelper like <vhs:page.breadCrumb linkCurrent="FALSE" class="breadcrumb" showHiddenInMenu="0" /> my hidden pages are not visible.

But if I viewhelper as written below, my hidden pages are visible.
<vhs:page.breadCrumb entryLevel="1" showHiddenInMenu="0">
<f:if condition="{breadcrumb}">
<f:for each="{breadcrumb}" as="breadCrumbItem">
<f:link.page pageUid="{breadCrumbItem.uid}" title="{f:if(condition: '{breadCrumbItem.nav_title}', then: '{breadCrumbItem.nav_title}', else: '{breadCrumbItem.title}')}">
{f:if(condition: '{breadCrumbItem.nav_title}', then: '{breadCrumbItem.nav_title}', else: '{breadCrumbItem.title}')}
</f:link.page>
</f:for>
</f:if>
</vhs:page.breadCrumb>

Whats wrong?
--
Kind regards,
Dmitry Vasilev
www: http://typo3.ru.net/
Skype: thule-varahi;
Phone: +7 950 001 85 15
Loading...