Hi !

I have just created a "Personal Information" profile type

It contains fields like Firstname Lastname Telephone number etc.

What I would like to do is to create a page (phone list) that lists up those fields.

I know a bit about views and have created lists of node fields, but I cant find the fields I made in the profile type "personal Information" anywhere in the fields list of view.

Is the profile 2 module integrated with views module ? If so how do I find the fields so I can create blocks or pages listing the fields from profile types ?

Thanks in advance !
Tor

CommentFileSizeAuthor
#13 viewtype.jpg62.9 KBKreativs

Comments

Joey11’s picture

Same problem here: the content stored in the profiles cannot be extracted.
Not in the views module and not in the date module (for e.g. birthdate)

i-grou’s picture

Category: support » feature

Views integration is really useful and required! Could you say, please, when are you planning to release this feature?

Venus Tang’s picture

I am trying to add profile2 field in the block also. Hope it will integrate with views as soon as possible.

achinn’s picture

Given that the core profiles modules in Drupal 6 has been deprecated and this the only solution now for adding profile fields I would argue that having the ability to access the profile fields from Views is critical, especially for those needing to build user directories such as the originator points out.

i-grou’s picture

By the way it's also a good idea to make profile urls configurable (may be integrate with pathauto?), because 'profile-main/uid' doesn't always sute.

mortona2k’s picture

Who's working on this? I'll help write documentation if I can implement your code.

ben kuper’s picture

subscribe

docwilmot’s picture

same here; updated to latest dev of entity api, didnt help

steingard’s picture

I was hoping Search API (http://drupal.org/project/search_api) would be the answer... it might be, but it's way too thick for me to wade through. A core Views UI integration is a must.

steingard’s picture

I was researching Profile Role (http://drupal.org/project/profile_role) module, but it requires the deprecated core Profile module. I would assume it has Views integration.

I am realizing I also have to decide what is the best choice for my site's architecture.
Profile2 offers multiple profiles for one user (one to many), while Profile Role would offer a tighter one profile for one user (one to one).

In building a CRM, what would you recommend?

steingard’s picture

Status: Active » Closed (duplicate)
scor’s picture

Status: Closed (duplicate) » Fixed

#965860: Add views integration fixes this, the only caveat at the moment is that you cannot get profile fields loaded into a "user" view, but if you create a view of type "Profile" you should be able to do this.

Kreativs’s picture

StatusFileSize
new62.9 KB

Not sure if this is what you mean but..

I install the latest Dev version of Entity API ( 7.x-1.x-dev) , and by doing that I should be able to create a views type "profile" ?

I have a screen shot of what I think you mean , although I dont have that type here even though I have installed the newest Dev version of Entity API and also cleared the views cache.

Bstrgds
Tor

scor’s picture

I checked again, and on admin/structure/views/add, I do have "Profile" and "Profile type", see https://skitch.com/scor/rc9sf/views-with-profile. Make sure you use the latest profile2-dev as well. These are the timestamp I have:

version = "7.x-1.x-dev"
core = "7.x"
project = "entity"
datestamp = "1296044217"
version = "7.x-1.x-dev"
core = "7.x"
project = "profile2"
datestamp = "1295267273"
Kreativs’s picture

Nice ! Thanks alot this is great ! :)

It works now as I updated to the latest dev version of profile 2

Best regards
Tor

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.