Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have a site which has many organic groups and I want the user when he want to add an image from the ckeditor to a node to browse and upload the images from and to a folder named with the organic group audience of that node.
how I can do that??
Comment | File | Size | Author |
---|---|---|---|
#1 | result-imce.png | 35.25 KB | thalles |
#1 | profile-imce-d7.png | 22.81 KB | thalles |
Comments
Comment #1
thallesYou can try
php: return 'users/'.end($user->roles);
in:Result:
Comment #2
thallesThanks !
Comment #4
moneera CreditAttribution: moneera commentedThank you very much.