Quantcast
Viewing all articles
Browse latest Browse all 426

complete user profile

Modules or views used : Profile2(profile2): Its proveds a default content type where we can add custom fields from manage fields like i used here
add 3 fields
• About me (text) here user can add a small description about him or her
• Social links : facebook url (Link ) and linkedin url(Link)
• Example http://www.dna2life.com/users/srirupa
For user related post for any particular user we used a View, here are following steps:
Add a new view, i used name User_related_post
Choose block because we need to show other things also in author pages
Filter criteria :
Content: Published (Yes)
Content: Type (= Article)

Sort Criteria:
Content: Post date (desc)

Contextual filters
Global: Null
(author) User: Uid ->
When the filter value is NOT available->
Provide default value : Raw value from url

Relationships
Content: Author
(author) User: Profile

And your done with complete fully customize user page


Viewing all articles
Browse latest Browse all 426

Trending Articles