Foren
How to display a list of default friends for a user
Saurabh Mehta, geändert vor 11 Jahren.
How to display a list of default friends for a user
New Member Beiträge: 3 Beitrittsdatum: 24.12.12 Neueste Beiträge
Hi All,
I need to create a page which displays default friend list of a user. Default friends are as below
Taking an example of a school.
1. There are persons with two different roles. i.e(ROLE_STUDENT and ROLE_TEACHER)
2. A user with ROLE as "ROLE_TEACHER" logs in to the portal then on his home page I need to show two entirely different sections of his friends. The first block should contain all the persons having "ROLE_TEACHER" and the other block should contain the list of persons with "ROLE_STUDENT".
Please provide your inputs how this can be achieved.
Thanks!!
I need to create a page which displays default friend list of a user. Default friends are as below
Taking an example of a school.
1. There are persons with two different roles. i.e(ROLE_STUDENT and ROLE_TEACHER)
2. A user with ROLE as "ROLE_TEACHER" logs in to the portal then on his home page I need to show two entirely different sections of his friends. The first block should contain all the persons having "ROLE_TEACHER" and the other block should contain the list of persons with "ROLE_STUDENT".
Please provide your inputs how this can be achieved.
Thanks!!