2

I am using Drupal 7 and I am creating a content type which is a content of an Organic Group. This content type has a file field and all the Organic Group Members can create a node of that. I want to grouping the files in the file system with directories automatically named by Organic Groups names and some sub directories named by current date and current user uid. User can be member of 2 or more groups, so the file should be copied to all the groups directories that user selects in the create node form. Any suggestion?

1 Answer 1

3

It looks like the Filefield Paths module will do what you ask, in particular there is an over view on how to Mix public and private files with Organic Groups and File (Field) Paths

The part I can see it doing is copying the file - but you may not want that behavior as it will quickly bloat your storage.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.