We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 19534
    • 183 Posts
    Hi!

    Is this a bug or am I missing something:

    When you put a resource r1 under an existing (non-container) resource r2 via dragn drop, resource r2 is not marked as container.

    I’m using Revo 2.4 pl2with Firefox 3.6.12

    Cheers
      Add-On to easily manage your multilingual sites: Babel
      • 23490
      • 5 Posts
      Bump!

      Same occurs for me as well on Revo 2.0.8-pl (traditional)
        • 3749
        • 24,544 Posts
        Definitely not a bug.

        In Revolution (unlike Evolution) having children and being a container are independent. In Evo, resources with children are automatically marked as containers. In Revo, you test for the existence of children with hasChildren() and for container status by looking at the resource’s isfolder field.

        IOW, in Revo you can have children and *not* be a container and you can be a container and not have any children.

        This was done because some users wanted some resources with children to be treated as non-containers and some resources with no children to be treated as containers by snippets like getResources and Wayfinder.
          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