Which module and configuration to have on the profile have the list of interests and country:
clickable like it is here on the Drupal site?

Example:
---
Interests
drupal, design, music, photography, cycling, drupal hosting, drupal themes, drupal

Country
Italy
---

thank you very much for you help!

Comments

praveen-sl’s picture

I think its something to do with the taxonomy. because you can get the same result with taxonomy fields. i'll look how to do this when i have some time :)

--
Praveen Gunasekara

praveen-sl’s picture

Hi,

sorry for my previous quick and incorrect answer. you can do it with the profile module itself.

for example if you want to list all the people from 'sri lanka' and you have a profile field called 'profile_country' then what you can do is first manually go and check the page '?q=profile/profile_country/Sri+Lanka'.

then edit your user_profile template file accordingly to support this type of a link in each and every profile field you want.

if you found some other answer already please be bold enough to put a comment here saying that you already found a answer. because we need to make these forum topics answers to others questions.

--
Praveen Gunasekara

alvin’s picture

You need to set page title in the profile field. For example, the page title for a country profile field: "People who live in %value".

Once you set the page title, the link is automatically generated in your profile page. No need to edit user_profile template file.

So to get a link like this http://drupal.org/profile/country/Singapore, enable clean url, create a profile field called "country" and then add a page title "People who live in %value".

praveen-sl’s picture

thanks alvin,

i've never tried that out. anyway it is super easy enable page without hacking the template file. iwas thinking much about core hacking rather than easy configuration.

anyway thanks again alvin. :)

--
Praveen Gunasekara

brameo’s picture

brameo’s picture

Thanks alvin,

very easy and fast solution!
- I 've filled the page title field with "People who live in %value"
- and set the Visibility to: "Public field, content shown on profile page and on member list pages"

My page is:
http://www.myourscience.com/members

Two things remain:
1) For some countries the link to the country page shows member/users, while for other country links the list of members/users is empty.

2) Can I change the layout of the resulting page (e.g. page: http://drupal.org/profile/country/Singapore). Is there a template file?

Anonymous’s picture

Very nice, thanks for the tip, alvin!