user folders
-Anti- - August 26, 2008 - 13:46
| Project: | FileField Paths |
| Version: | 6.x-1.x-dev |
| Component: | Miscellaneous |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
> Configurable upload paths now use node tokens
Does this mean that each user can have their own folder by using something like %UID?
Sorry for my ignorance.

#1
Hi -Anti-,
Yes you can, using the global token [user-id].
However, you could also do this previously with FileFields default behavior, which used the user tokens instead of the node tokens.
The benefit of using the node tokens is that you can have the files sorted into directories based on the node that they are for.
If you have the module installed, there are fieldsets in the filefield widget settings called 'File path replacement patterns' & 'File name replacement patterns' that will give a list of all available tokens that can be used to create these directories.
Hope this helps.
#2
Automatically closed -- issue fixed for two weeks with no activity.