Project

General

Profile

Actions

Bug #81229

closed

fluid_styled_content fluid partial menu type2 (sitemap) entryLevel does not work

Added by Wiebke Lauke over 7 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Fluid Styled Content
Target version:
-
Start date:
2017-05-15
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Hi there,

I'm trying to overwrite the fluid template fluidcontent/Partials/Type-2.html with entryLevel 1 instead of 0. I want to start my sitemap of the page with menu level 1, not with root.

<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" xmlns:ce="http://typo3.org/ns/TYPO3/CMS/FluidStyledContent/ViewHelpers" data-namespace-typo3-fluid="true">
<ce:menu.list entryLevel="1" as="pages" levelAs="level">
    <f:if condition="{pages}">
        <ul class="ce-menu ce-menu-2">
            <f:for each="{pages}" as="page">
                <li>
                    <f:link.page pageUid="{page.uid}">
                        <f:if condition="{page.nav_title}">
                            <f:then>
                                {page.nav_title}
                            </f:then>
                            <f:else>
                                {page.title}
                            </f:else>
                        </f:if>
                    </f:link.page>
                    <f:render partial="Menu/Directory" arguments="{pageUids: {0: page.uid}}" />
                </li>
            </f:for>
        </ul>
    </f:if>
</ce:menu.list>
</html>

But that doesn't work. Nothing is rendered in frontend. Is that a bug or not correctly used?

Thanks in advance!

TYPO3 7.6.18

Actions

Also available in: Atom PDF