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
-
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
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
-
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
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."
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