Hi there,

I have a problem with de combination of the following modules: Views, Profile2, Field Collection and Location.

I have a user profile that has a Field Collection field. In that collection there is a location field from the Location module.

The problem is that I want to sort on the different address fields within the location field (like Country and Province) and I somehow can't do that.

When I add a new field in Views I can only add the complete location field (formatted), not the separate fields.
However, when I add the Location field from the user type, I CAN select the different location fields, though these locations are from the user itself, not the field collection items.

My setting:

User view -> Relationship to User: Profile (Profile2 module) -> Relationship to Field collection field (withing User: Profile).

My question: How can I use the separate locationfields from a Field Collection within Views?

Sideinfo: It's a site on wich the teachers can add their courses with dates and locations, thats why I used Field Collection.

Structure: User -> Profile (teacher) -> Classes/Courses -> Locations.

Thanks in advance for any help!

PS: This is a live site, so if I could do this with my current setup it would be great!

Comments

MustangGB’s picture

Priority: Major » Normal
MustangGB’s picture

Status: Active » Closed (outdated)

Closing this as outdated to tidy up a bit around here. If you're still having problems with the latest release please create a new issue.