We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 28571
    • 11 Posts
    Ok I’ve done a base install of Modx and Ive created some test folders and pages

    Now I want to get rid of them. Totaly
    Modx still shows them and it is very anoying! I just want them to be gone from my adminstration view
    How can I do this?

    Also the way Modx sorts folders and pages is weird?
    How do I control this?

    Thanks for your imput



      • 28042 ☆ A M B ☆
      • 24,524 Posts
      Open the folders and documents you want to remove for editing and "Delete" from the top menu buttons, or right-click on them and select "Delete" from the menu. You cannot delete the document that is being used as "site_start", usually document ID#1. When you have deleted all of the documents you want to be rid of, they will all have a strikethrough on the name. Click the little trash can button at the top of the Document Tree panel. That will remove all documents marked for deletion.

      As far as the sorting of the Tree goes, what do you mean by "weird"? Folders go before documents, then they are sorted by menuindex, or alphabetically if they have the same menu index.
        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
        • 27330
        • 884 Posts
        thanks Susan,
        I was looking for it for a while now smiley
        some things are just much simpler than we thought i guess smiley
          • 33372
          • 1,611 Posts
          You’re not the first person to have these questions, so it’s a good thing that you asked so that the answers can be found by the next person here in the forums.
            "Things are not what they appear to be; nor are they otherwise." - Buddha

            "Well, gee, Buddha - that wasn't very helpful..." - ZAP

            Useful MODx links: documentation | wiki | forum guidelines | bugs & requests | info you should include with your post | commercial support options
            • 27376
            • 576 Posts
            Added to the FAQ: How do I delete a document for good?.

            Sorting
            The toolbar above the document tree will have an icon with "AZ" or something (will vary depending on manager skin) which allows you to sort the tree using various methods. I like sorting it by menuindex.