We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 40616
    • 11 Posts
    Hi i'm using the articles plugin, is there a way to show articles in the tree below the cute coffe cup icon?

    Thanks in advance.

    This question has been answered by opengeek. See the first response.

    [ed. note: juanitomint last edited this post 13 years, 10 months ago.]
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      If you go into the database, you'll find in the entry in the site_content table for Articles container, a setting "hide_children_in_tree". I think if you set that to 0 instead of 1 then the children will show.

        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
        • 40616
        • 11 Posts
        Quote from: sottwell at Nov 20, 2012, 12:08 PM
        If you go into the database, you'll find in the entry in the site_content table for Articles container, a setting "hide_children_in_tree". I think if you set that to 0 instead of 1 then the children will show.


        tried that didn't worked out for me.
          • 28042 ☆ A M B ☆
          • 24,524 Posts
          Hm. Then each of the children must have their "show_in_tree" set to 0 when they are created. There isn't much you can do about it, unless you dig through the Articles code and change it. You'd do better to not use Articles at all in that case.
            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
            • 37111 ☆ A M B ☆
            • 31 Posts
            Hey juanitomint, there is an extra called "Resource Hider", which implements a nice little button on the left side of the save-button in the manager.
            With that you can easily show and hide child-resources. But it seems, that it actually just works with normal resources, but not with the articles-container..
            Perhaps the author of the extra can add that feature..

            Greetings from Germany
            Jens
            • discuss.answer
              • 22303 MODX Staff
              • 10,725 Posts
              Part of the point of developing the Articles extra was so that those particular Resources, blog posts, did not show up in the tree. This is because typically, you might have hundreds or thousands of Resources in a single Blog Container and navigating those in the tree is awkward and in some cases, may not even render depending on the number of Resources in a single Container and your hosting environment.

              You can approximate blogs in MODX without using Articles. It takes a little more setup work, but is certainly an option if you prefer to manage Resources in the tree.
                • 28042 ☆ A M B ☆
                • 24,524 Posts
                MIGxDB is a good alternative that gives you much more flexibility than trying to meddle with Articles core code. http://rtfm.modx.com/display/ADDON/MIGXdb.Manage+Child-Resources+in+a+grid-TV+with+help+of+MIGXdb
                  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
                  • 40616
                  • 11 Posts
                  Ok got it, may be articles is not the way to go with what I'm trying to do.
                  Thanks to all for reply.

                  Quote from: opengeek at Nov 22, 2012, 09:34 AM
                  Part of the point of developing the Articles extra was so that those particular Resources, blog posts, did not show up in the tree. This is because typically, you might have hundreds or thousands of Resources in a single Blog Container and navigating those in the tree is awkward and in some cases, may not even render depending on the number of Resources in a single Container and your hosting environment.

                  You can approximate blogs in MODX without using Articles. It takes a little more setup work, but is certainly an option if you prefer to manage Resources in the tree.