I am trying to render a menu in TYPO3 Neos. The Menu works fine, but does not show shortcuts. What do I do wrong?

       <f:for each="{items}" as="item" iteration="menuItemIterator">
                    <li class="{item.state}">

                        <f:if condition="{item.subItems}">
                            <f:then>
                                <a href="#" class="dropdown-toggle" data-toggle="dropdown">{item.label}<b class="caret"></b></a>
                                <f:render section="subList" arguments="{items: item.subItems}"/>
                            </f:then>
                            <f:else>
                                <neos:link.node node="{item.node}">{item.label}</neos:link.node>
                            </f:else>



                        </f:if>
                    </li>
                </f:for>
有帮助吗?

解决方案

did you also change something in TypoScript? Shortcuts should be rendered in the menu unless they are set to hidden in Menu or the shortcut target is not accessible. So one of those probably applies.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top