We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 31471
    • 206 Posts
    Quote from: OpenGeek at Mar 24, 2010, 05:37 PM

    ...I like being able to have a Resource with children treated as if it’s not a folder.
    I definitely agree with you on this! My suggestion exactly serves this concept.

    Quote from: OpenGeek at Mar 24, 2010, 05:37 PM

    I absolutely separate the concepts of having children and being a container/folder Resource. i.e. when you add or remove files from file system folders, you don’t automatically change the folder to a file.
    Sorry, but I see that Revo rc1 does just the opposite -- it automatically changes the ’isfolder’ attribute of a resource when you create a child document to it.
    I can accept this only if modx asks me to confirm to change that attribute on the FIRST child resource being saved, and if it was like that, why not ask me if I want to change that attribute back when the LAST child being deleted? THIS would really prevent modx from "automatically change the folder to a file" or the file to a folder!

    Quote from: OpenGeek at Mar 24, 2010, 05:37 PM

    Personally, I don’t want it asking me anything or auto-adjusting the isfolder attribute unless I tell it to specifically.
    For me, it’s not a question if it’s a good habit the system asks the user to confirm a change on a resource different than that is actually being created or deleted, so the user wouldn’t notice it otherwise.
      • 31471
      • 206 Posts
      Quote from: jrotering at Mar 24, 2010, 09:12 AM

      What is the significance of container status then?
      I’m actually making a menu that relates on the container status.
      So when you want to get a list of resources filtered on this attribute, it gets important for the manager to handle it ’clever’.
        • 6437
        • 157 Posts
        Quote from: wshawn at Mar 23, 2010, 08:49 PM

        I installed Google site-map snippet quite a few betas ago, and Google does not seem to mind the changes much. Running analytics and watching the reports, as well as webmaster tools, and other resources we have -- has shown no issues with switching from a bbb.html to a bbb/.

        The issue appears to come in when the names and/or locations completely change.

        Just to clarrify my comment the issue is not with the search engines ability to crawl new URLs or with the format of those URLs, its with the change in location itself e.g. you generate 200 inbound links to a page, then change that page to a container causing the URL format to update, the 200 inbound links now 404 or have to be 301 redirected to the new location - either way is not quite as solid as keeping the original.

        Steve
          • 22303 MODX Staff
          • 10,725 Posts
          Quote from: vhollo at Mar 24, 2010, 06:26 PM

          Quote from: OpenGeek at Mar 24, 2010, 05:37 PM

          I absolutely separate the concepts of having children and being a container/folder Resource. i.e. when you add or remove files from file system folders, you don’t automatically change the folder to a file.
          Sorry, but I see that Revo rc1 does just the opposite -- it automatically changes the ’isfolder’ attribute of a resource when you create a child document to it.
          I can accept this only if modx asks me to confirm to change that attribute on the FIRST child resource being saved, and if it was like that, why not ask me if I want to change that attribute back when the LAST child being deleted? THIS would really prevent modx from "automatically change the folder to a file" or the file to a folder!
          Well that would be a bug then.
            • 28042 ☆ A M B ☆
            • 24,524 Posts
            If a resource has children, but is not flagged as being a container, will the children show in the Resource Tree? They won’t in Revo.
              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
              • 22303 MODX Staff
              • 10,725 Posts
              Quote from: sottwell at Mar 25, 2010, 11:33 AM

              If a resource has children, but is not flagged as being a container, will the children show in the Resource Tree? They won’t in Revo.
              Yes, in Revo, the plus sign indicating children should be separate from the icon indicating it is a container.
                • 28042 ☆ A M B ☆
                • 24,524 Posts
                Just checked in Evo 1.0.2; it won’t let the Container flag be cleared if there are children.
                  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
                  • 22303 MODX Staff
                  • 10,725 Posts
                  Quote from: sottwell at Mar 25, 2010, 11:38 AM

                  Just checked in Evo 1.0.2; it won’t let the Container flag be cleared if there are children.
                  Correct, this is a change in behavior from Evo.
                    • 31471
                    • 206 Posts
                    Quote from: OpenGeek at Mar 25, 2010, 11:35 AM

                    Yes, in Revo, the plus sign indicating children should be separate from the icon indicating it is a container.
                    There must be another bug then. sad
                    In Revo rc1 the icon changes only when there are children.
                      • 22303 MODX Staff
                      • 10,725 Posts
                      Quote from: vhollo at Mar 25, 2010, 06:50 PM

                      Quote from: OpenGeek at Mar 25, 2010, 11:35 AM

                      Yes, in Revo, the plus sign indicating children should be separate from the icon indicating it is a container.
                      There must be another bug then. sad
                      In Revo rc1 the icon changes only when there are children.
                      No, I just spoke inaccurately, having children drives the icon and expansion link; regardless, having children and being a container are separated.