We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 7825
    • 10 Posts
    I’m developing a Component for use in MODx and have been looking at how I integrate it into the menu as explained on here: http://rtfm.modx.com/display/revolution20/Custom+Manager+Pages

    Now, this all works great, but what I’d like to do is retain the MODx main navigation bar while dropping the Resources/Elements/File pane and I don’t see a way to do this easily

    It seems like I only have a choice of either all of the UI, or none of it.

    Is there a way of inserting the menu back in from within the component’s code?
      • 28215
      • 4,149 Posts
      Just run this JS line on every page load in your CMP:

      Ext.getCmp('modx-leftbar-tabs').collapse();
        shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com