Issue Bug Closed

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

Wiebke Lauke 05/15/17, 16:48 updated 12/03/17, 19:10

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

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.