I use the Views attach profile view display to sort out a users stories at the bottom of the user page. Works when viewing the user i.e. the URL is users/blabla . Is it possible to show the same view at the bottom of the users profile page, using the Content Profile module? Can't get it to work. Any hints appreciated! :)

Comments

TheThumbPuppy’s picture

subscribe

oseldman’s picture

With some help from Itangalo on IRC, I was able to get this working. I think we are talking about the same thing, so I hope this helps.

  • Set the argument on your view to User: Uid, and set "Action to take if argument is not present:" to Hide view
  • Add the "Node content" display type that views_attach provides
  • In the "Node content settings" section on the new display (below "Basic Settings") set the node type to the content profile you want to attach the view to.
  • In the same "Node content settings" section set "Arguments" to use Tokens by choosing "Use tokens from the node the view is attached to"
  • Use [author-uid] as the argument.

You can probably get this to work with a different combinations of views arguments and tokens, but this is what worked for me.

Crell’s picture

Status: Active » Fixed

Thanks, oseldman! I posted a link to your video on the project page as well.

Status: Fixed » Closed (fixed)

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