I am using a field collection for profile2. I've cloned the default view, added my fields, and created a block. I've added the view and block info into the field display. The block shows on the user page and works like a charm. However, I want to override the default user page with page manager and bring the block in through a panel so I can position things where I want them. When I add the block to the page in a panel, no data shows up. How do I get the view to show in a panel? Is there an argument I need to pass or something?

Thanks,
Mickey

Comments

did1979’s picture

Hello,

I am facing the same issue. Did you find a solution ?

Thanks.
did

pyxio’s picture

same here. unfortunately, it doesn't look like there is much activity around here :(

pyxio’s picture

i guess the contextual filter is the problem. it says to hide the view when the value filter is not in the url. however, i even put a content pane on the actual view collection page via panelizer and it did not show up either. so i doubt the url has anything to do with it. this module had great potential, but very limited use if the field collection view displays can't be placed around the site with more flexibility.

pyxio’s picture

I have also discovered that is not even possible to embed a view by hard-coding it into the exact same node it is displayed on. So no wonder it doesn't work in panels if you can't even hard-code into a node--id.tpl.php file for the same exact page it is already appearing on. I figured if I could get it to work that way, then hide the module generated views... i could pull the node into a panel. No such luck.

jeyram’s picture

Issue summary: View changes

Actually you could:
1) Create a new view for your profile with a "View Pane display" and use the field formatter of the view-field-collection that you want.
2) Choose the UID of your profile as a contextual filter for the URL on your new profile view.
3) Add the View Pane with your field-collection on the override user page.

astonvictor’s picture

Status: Active » Closed (outdated)

I'm closing it because the issue was created a long time ago without any further steps.

if you still need it then raise a new one.
thanks