Since all groups in my site are private and group are assign to user by administrator and one user should belong to one group only.

How could I redirect a login user to his/her group home page say node/xx where xx is the group a user belonging to.

Comments

mithy’s picture

You probably have to retrieve the group id from the database somehow and then write a php snippet to return the path you want to LD.

deodesign’s picture

Title: is it possible to redirect a user to his group home page ? » What is the php code
Version: 6.x-2.12 » 7.x-1.x-dev

hi,

I am also trying to redirect users to their group page. Did you find a solution? What is the php code? I am using Drupal 7.

Deo

deodesign’s picture

hi,

I found OG homepage, a very tidy solution, no php to write.

https://drupal.org/project/og_homepage

thanks to enzipher

deo

ddrozdik’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)