On this Drupal site a user can click on common interest in profile and see a list of all other user with the same interest. This work also with multiline text fields.

On my Drupal site this only work on a list selection field.

What going on?

Comments

nig’s picture

Maybe I didn't make myself clear.....

This Drupal.org site, that you am reading right now, has a way of linking users into lists of people with common items in their profiles.

How do I go about getting this to work on my own site?

Thanks

the full octave’s picture

Hi Nig,

I'm new to Drupal but found it was simple to set that up using the PROFILE.MODULE. It comes with the default download so all you have to do is switch it on.

Go to ADMINISTER -> SETTINGS -> PROFILES

Clisk on LIST SELECTION to setup a LIST SELECTION.

At the bottom of the page, you should see a PAGE TITLE option.

The title of the page showing all users with the specified field. The word %value will be substituted with the corresponding value. An example page title is "People whose favorite color is %value". Only applicable if the field is configured to be shown on member list pages.

It should be self explanatory from there.

LIST SELECTION is useful when you're sorting users by country for example. i.e. some English people might say they reside in UNITED KINGDOM and others might say ENGLAND etc. if you weren't using a LIST SELECTION.

Paul

nig’s picture

Thank you for this Paul.
Following your instructions, and doing some experimenting, it looks like the profile fields that will aggregate are free list, list select, and box. The fields that won't aggregate, for me, are single-line text and multi-line text.

I can, obviously, provide a list field (of whichever type) to make sure that aggregation takes place. However, this means that my uses are faced with over-large form fields for "street" and "post code", which I do want to aggregate. Each user only lives on one street and has one post code. It looks odd to have such large fields for a one line entry.

I'm most of the way there now, thank you. Any way round this last eccentricity?

Thanks
Nigel

nig’s picture

I also get "Put each item on a separate line or separate them by commas." instructions under these giant input boxes. That's going to confuse a lot of poeple who will think I'm expecting them to live on more than one street.

Any workaround?