Firstly in my site, using Profile 2. i created a 'Select list field' that allows each user to choose his/her country.
I then created a custom user profile page using views by following these steps:
1.Create a view and add a "page" display. 2. Use "user/%" as the page path. 3. Add a contextual filter "user uid" and select "provide default value" user ID from URL.
Now i want to add a block to each users profile page that displays all users from the same country as the currently viewed user profile
I have tried adding the "Profile Country" contextual filter and selecting "provide default value" user ID from URL but no results are displayed.
Is there a way to do this?