We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 28245
    • 20 Posts
    is it possible to have a folder for uploaded images/files for every document group?
    now every user can se and use all pictures.

    Spunk
      • 25663 MODX Staff
      • 12,272 Posts
      Can you explain a bit more in detail, including how it deviates from the standard behavior of MODx, what you hope to achieve? The answer is almost always a qualified "yes" meaning it will take some custom module or plugin creation on your part.
        Ryan Thrash, MODX Co-Founder
        Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
        • 28245
        • 20 Posts
        now every user can se, use and delete images. my hopes is to have a folder for every user so they only can se, use and delete there one images
          • 25663 MODX Staff
          • 12,272 Posts
          OK ... more like a MySpace type functionality. You might investigate the PPP snippet.
            Ryan Thrash, MODX Co-Founder
            Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
            • 7923
            • 4,213 Posts
            what interface you are talking about? The rte?


              "He can have a lollipop any time he wants to. That's what it means to be a programmer."
              • 32319
              • 129 Posts
              The simple solution for this would be to:

              • Create a folder for the user in the images folder (example: [tt]/images/user_a/[/tt]).
              • Create a new user ([tt]user_a[/tt]).
              • Under Security>Manage Users>User>File Manager Path: enter the path to the folder.
              • Save the user profile.
              Now when the user opens the file manager they will be taken directly to the specified directory and should not be able to back out to lower levels.
                "Regret for the things we did can be tempered by time; it is regret for the things we did not do that is inconsolable."
                -- Sydney Harris
                • 28245
                • 20 Posts
                I liked that!!
                very easy fix it for every user. grin
                Manny thanks