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

Deciphered - August 26, 2008 - 22:33
Status:active» fixed

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

Anonymous (not verified) - September 11, 2008 - 05:33
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.