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.
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
Comment #1
mithy CreditAttribution: mithy commentedYou 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.
Comment #2
deodesign CreditAttribution: deodesign commentedhi,
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
Comment #3
deodesign CreditAttribution: deodesign commentedhi,
I found OG homepage, a very tidy solution, no php to write.
https://drupal.org/project/og_homepage
thanks to enzipher
deo
Comment #4
ddrozdik CreditAttribution: ddrozdik as a volunteer commented