We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 18373 ☆ A M B ☆
    • 3,141 Posts
    So, I just wanted to kick off a discussion about the placement of menus for third party components. Basically, in 2.3, the top menu looks like this.

    Where would you install your menu items to for a component? Do you place everything under "Extras" (key: components) because that's what it is, or would you go for a more blended-in approach where certain things may go under Manage, or Content as that might be more appropriate?
      Mark Hamstra • Developer spending his days working on Premium Extras and a MODX Site Dashboard with the ability to remotely upgrade MODX and extras to make the MODX world a little better.

      Tweet me @mark_hamstra, check my infrequent blog at markhamstra.com, my slightly more frequent ramblings at MODX.today or see code at Github.
      • 25551 ☆ A M B ☆
      • 1,231 Posts
      I quite liked the `Apps` title that was in the dev builds rather than `Extras`.

      To answer your question, if the extra is a major part of a website then I create a menu item specifically in the top nav; clients like to get to it quickly. I would say create a top level menu item to house all extras as per your image for all others.

      Ross
        Ross Sivills - MD AugmentBLU Edinburgh, Scotland UK
        AugmentBLU - MODX Partner

        BLUcart - MODX Revolution E-Commerce & Shopping Cart
        • 15360
        • 20 Posts
        I agree, top nav if the extra is a major part (like ecommerce stuff) and other minor extras under the Extras menu like in your image.

        Maybe some Extra's could be developed in a way that you can choose if you want the extra to create Top Nav's when installing..
          • 1343 ☆ A M B ☆
          • 2,213 Posts
          Personally, I would love the option to select a category during installation. There are some items I view as "Content" (ClientConfig) and some items are "Apps" (ContentBlocks/VersionX). The ability to separate the items based on how the site is being configured would be extremely helpful when it comes to client training.

          I also liked "Apps" over "Extras", granted that makes more sense if you can select the destination menu on installation.
            Patrick | Server Wrangler
            About Me: Website | Tweets |  MODX Hosting
            • 28042 ☆ A M B ☆
            • 24,524 Posts
            I like the destination menu option as well.

            An example. MIGxMultiLang places its menu item in the top level. On upgrading to 2.3, the top-level item disappears. You have to move it under Extras before it will show.

            Since I use MIGx a lot, and some of these uses have their own menu items, I'd like to move MIGx itself to the top level, with its various apps under it. But the top level doesn't seem to want to accept any more items.
              Studying MODX in the desert - http://sottwell.com
              Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
              Join the Slack Community - http://modx.org
              • 3749
              • 24,544 Posts
              I don't feel strongly about it, but I think they should all go under 'extras/components/apps' or whatever it's called, just so that the user will know where to find them after installation. Putting them elsewhere risks emails from users saying, "I tried to install your extra but the install didn't work."

              It's very easy to move them to another location after installation, and as an extra developer, I wouldn't want to second-guess the end user about where they should go.

              For extra developers who want to move it out of the default location, it's fairly easy to offer that option during the install.

                Did I help you? Buy me a beer
                Get my Book: MODX:The Official Guide
                MODX info for everyone: http://bobsguides.com/modx.html
                My MODX Extras
                Bob's Guides is now hosted at A2 MODX Hosting
                • 28042 ☆ A M B ☆
                • 24,524 Posts
                For extra developers who want to move it out of the default location, it's fairly easy to offer that option during the install.
                I think that's what we are talking about.
                  Studying MODX in the desert - http://sottwell.com
                  Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
                  Join the Slack Community - http://modx.org
                  • 4172
                  • 5,888 Posts
                  Quote from: sottwell at Jul 16, 2014, 10:35 PM
                  I like the destination menu option as well.

                  Since I use MIGx a lot, and some of these uses have their own menu items, I'd like to move MIGx itself to the top level, with its various apps under it. But the top level doesn't seem to want to accept any more items.

                  Before 2.3 the top-level was an empty parent. Now it is called 'topnav'

                  this is my solution within a menue-resolver (autocreated menue-resolver by migxElementsManager):
                  https://github.com/Bruno17/migxElementsManager/blob/master/_build/resolvers/resolve.menues.php#L21
                    -------------------------------

                    you can buy me a beer, if you like MIGX

                    http://webcmsolutions.de/migx.html

                    Thanks!
                    • 3749
                    • 24,544 Posts
                    Right, but the question is whether MODX asks the question or the extra developer does. I don't think having MODX ask it is practical without some major changes to Package Manager and most packages are not CMPs so it's of no use to them.

                    Having the package ask it is possible now for those who want it and package developers can present a small menu of sensible options based on what the package does rather than offering to put it anywhere in the entire menu.

                    I was arguing that for those who don't want to offer choices, or don't know how to do so, the CMP's menu item should go to the default location so people know where to look for it.
                      Did I help you? Buy me a beer
                      Get my Book: MODX:The Official Guide
                      MODX info for everyone: http://bobsguides.com/modx.html
                      My MODX Extras
                      Bob's Guides is now hosted at A2 MODX Hosting
                      • 28042 ☆ A M B ☆
                      • 24,524 Posts
                      I would definitely agree with that.
                        Studying MODX in the desert - http://sottwell.com
                        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
                        Join the Slack Community - http://modx.org