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
| Comment | File | Size | Author |
|---|---|---|---|
| #13 | viewtype.jpg | 62.9 KB | Kreativs |
Comments
Comment #1
Joey11 commentedSame 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)
Comment #2
i-grou commentedViews integration is really useful and required! Could you say, please, when are you planning to release this feature?
Comment #3
Venus Tang commentedI am trying to add profile2 field in the block also. Hope it will integrate with views as soon as possible.
Comment #4
achinn commentedGiven 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.
Comment #5
i-grou commentedBy 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.
Comment #6
mortona2k commentedWho's working on this? I'll help write documentation if I can implement your code.
Comment #7
ben kuper commentedsubscribe
Comment #8
docwilmot commentedsame here; updated to latest dev of entity api, didnt help
Comment #9
steingard commentedI 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.
Comment #10
steingard commentedI 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?
Comment #11
steingard commentedhttp://drupal.org/node/986430
Comment #12
scor commented#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.
Comment #13
Kreativs commentedNot 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
Comment #14
scor commentedI 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:Comment #15
Kreativs commentedNice ! Thanks alot this is great ! :)
It works now as I updated to the latest dev version of profile 2
Best regards
Tor