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

CommentFileSizeAuthor
#1 result-imce.png35.25 KBthalles
#1 profile-imce-d7.png22.81 KBthalles
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

thalles’s picture

Issue summary: View changes
Issue tags: -
FileSize
22.81 KB
35.25 KB

You can try php: return 'users/'.end($user->roles); in:

Result:

thalles’s picture

Status: Active » Fixed

Thanks !

Status: Fixed » Closed (fixed)

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

moneera’s picture

Thank you very much.