OroCRM Forums

Covering OroCRM topics, including community updates and company announcements.

Forums Forums OroCRM OroCRM – Programming Questions remove default navigation entry

This topic contains 2 replies, has 2 voices, and was last updated by  msulima 6 years, 12 months ago.

Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.

  • Creator
    Topic
  • #25377

    hi there, i want to remove the default menu, following either of the prosed methods i am not able to hide the existing menus

    – variant 1: configure Resources/config/oro/navigation.yml
    as proposed in the posting it said

    but the effect is that i stillsee the sales menu entry in the to nav, i learned that i can look into the oronavigationbundle tio find out the keys used

    status: menu is still visible

    – variant 2: in the navigationbundle description there is mentioned a method where via “features.yml” an entry can be removed

    https://github.com/orocrm/platform/blob/master/src/Oro/Bundle/NavigationBundle/README.md

    so, the documentation makes not too clear where to put the features.yml i believe it is good in Rersources/config/oro

    would love to strip down oro a little bit, beside of that, using bundles.yml to deactivate a bundle does not work as well :( used this as is and entered in the bundles.yml

    i still see the deactivated bundle in the symfony debug app-dev.php console :( any hints what i did wrong here ?!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
    Replies
  • #25378

    it worked via editing the navigation.yml and include the existing navs for overrideing due to higher module priority

    1. set module priority higher than any other menu creator (>50) which is done in bundles.yml

    2. enter this into navigation.ymlm which is simply overriding the setting of any other module for that node to remove the sales tab

    #25379

    msulima
    Moderator

    Hi,
    yes, parameters overriding depends on bundles priority. So, you should create bundle for your customizations and set for it highest priority and all overriding should work correct.

    Can I help you any further?


Viewing 2 replies - 1 through 2 (of 2 total)

The forum ‘OroCRM – Programming Questions’ is closed to new topics and replies.

Back to top