Closed (works as designed)
Project:
Display Suite
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Jun 2011 at 10:10 UTC
Updated:
30 Nov 2012 at 00:42 UTC
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
Comment #1
bryancasler commentedCleaning up my horrible issue title
Comment #2
swentel commentedI 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 ?
Comment #3
bryancasler commentedI 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".
Comment #4
bryancasler commentedTurns 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
Comment #5
voodootea commenteda 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..
Comment #6
bryancasler commentedYa, 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.
Comment #7
kclarkson commented@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 !!!