1

Is there a way to create additional menus to a wabspace in Sulu CMS (1.6)? I only see the main manu in the options:

Sulu Menu selection

Thx a lot!
Andreas

Andreas
  • 1,691
  • 1
  • 15
  • 34

1 Answers1

1

You can add more navigations using the XML definition of a webspace. The default webspace from the sulu-minimal repository is located at app/Resources/webspaces/example.com.xml and already contains a navigation tag.

You can add more contexts like this:

<webspace>
    <!-- other tags -->
    <navigation>
        <contexts>
            <context key="main">
                <meta>
                    <title lang="en">Main Navigation</title>
                </meta>
            </context>
            <context key="footer">
                <meta>
                    <title lang="en">Footer Navigation</title>
                </meta>
            </context>
        </contexts>
    </navigation>
    <!-- other tags -->
</webspace>
Daniel Rotter
  • 1,998
  • 2
  • 16
  • 33
  • Also this is an excellent Overview and introduction to the topic: https://blog.sulu.io/how-to-use-sulus-navigation-contexts – Andreas Nov 02 '18 at 00:56