I'm able to get views working with panels default display.
http://awesomescreenshot.com/0f3f6lq02

However the same view does not work if I insert it in a teaser display.
http://awesomescreenshot.com/091f6lt7a

Comments

bryancasler’s picture

Title: View not supported in panels teasers » Views not working in teaser display, but do in default display

Cleaning up my horrible issue title

swentel’s picture

Status: Active » Postponed (maintainer needs more info)

I had this problem too first, but after a resave of the view of the display suite settings, everything started working again. Could you retry with latest git ?

bryancasler’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)

I found out what was causing my problem. I had a view that I used to display the node's author and node's published date. The view had the argument "CONTEXTUAL FILTERS > Content: NID > Provide default value > Content ID from URL"

This argument is no longer necessary and it's presence is what was breaking the view. Thanks for helping me troubleshoot this. Sometimes all I need is for someone else to say "Hey, it's working for me".

bryancasler’s picture

Turns out I was only half right. Removing that filter returns a result, but it's not the correct result.

You want this filter "CONTEXTUAL FILTERS > Content: NID > Provide default value > Display all results for the specified field"
http://awesomescreenshot.com/0a8fggj9b

Then in your pane's "Argument input" setting you want the following...
http://awesomescreenshot.com/08bfggi62

"From context > Content ID"
http://awesomescreenshot.com/029fggk65

voodootea’s picture

a bit confusing without the screenshots :) are you using panels, or display suite (or both), still cant seem to get the output correctly on a teaser view, using a view in place of a field with display suite..

bryancasler’s picture

Ya, unfortunately the screenshot service I was using at the time did not offer a long term saving option. But now it does, so hopefully this won't happen again.

kclarkson’s picture

@animelion thank you so much !!

I have been banging my head against the wall trying to figure this out for my teasers. I kept saying to myself why is this not working for the teasers if it works on the full node.

It actually makes sense now.

Basically you are showing all the results in the contextual filter but then you use the pane argument -> content id in order to for views to filter each one.

I can't believe there not a clear tutorial for this anywhere.

Thanks again !!!