What are the Slack Archives?

It’s a history of our time together in the Slack Community! There’s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.

Because this space is not active, you won’t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..

when i add a own navigation item to *config/Zed/navigation.xml* and run *docker/sdk console navigati

U02D2L91U0Z
U02D2L91U0Z Posts: 23 🧑🏻‍🚀 - Cadet
edited January 2022 in Slack General

when i add a own navigation item to config/Zed/navigation.xml and run docker/sdk console navigation:build-cache, the new navigation item is not visible in the BackOffice. Has Anybody an idea why?

Comments

  • U02PMBJMKV1
    U02PMBJMKV1 Posts: 4 🧑🏻‍🚀 - Cadet

    👋 @U02D2L91U0Z try to clear all caches via docker/sdk console cache:empty-all .
    Do you create the module linked to the new navigation menu ?

  • U02D2L91U0Z
    U02D2L91U0Z Posts: 23 🧑🏻‍🚀 - Cadet
    edited January 2022

    Hello @U02PMBJMKV1, thanks for your reply. Yes, i have run this command, but it does not changed anything.

  • U02D2L91U0Z
    U02D2L91U0Z Posts: 23 🧑🏻‍🚀 - Cadet
    edited January 2022

    i created it as parent menu item with:
    <?xml version="1.0"?>
    <config>
    <!-- You can control navigation order here and add your custom navigation entries -->
        <mymodule>
            <label>myModule</label>
            <title>myModule</title>
            <uri>/mymodule</uri>
            <icon>fa-globe</icon>
        </mymodule>
    ...
    </config>

  • U02PMBJMKV1
    U02PMBJMKV1 Posts: 4 🧑🏻‍🚀 - Cadet
     <myModule>
            <label>Lable</label>
            <title>Title</title>
            <bundle>my-module</bundle>
            <controller>index</controller>
            <action>index</action>
    </myModule>
    
  • U02D2L91U0Z
    U02D2L91U0Z Posts: 23 🧑🏻‍🚀 - Cadet

    when I add bundle, controller and action, it works. Thank you.