Closed (cannot reproduce)
Project:
Display Suite
Version:
7.x-1.5
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Mar 2012 at 10:33 UTC
Updated:
8 Apr 2012 at 20:00 UTC
Jump to comment: Most recent file
Comments
Comment #1
creando sensaciones commentedI found out that my problem is not nessesarily caused by DC.
With a simple view block without arguments I got the correct behaviour.
The block which shows a title in DC but not through Core block even when empty is the default OG content view.
If somebody knows this behavious I would be happy about support. But I might find out by myself while testing arround. Will let you know.
Comment #2
creando sensaciones commentedI set this to bug report as I guess it is a bug of DS.
When the argument's "When the filter value is NOT available" is set to "Hide view" it is hiding with the core block module, but not with DS, where still the title appears.
When choosing 'Display contents of "No results found"' but leaving No results behaviour empty the block is also hidden in DS.
Comment #3
swentel commentedCan you test with the attached patch ?
Comment #4
swentel commentedActually, better patch
Comment #5
frega commentedCould not reproduce w/ latest views release and ds 1.5.
module_invoke('views', 'block_view', $delta) consistently returns NULL if the view is empty (no "No Results Behaviour" or e.g. Contextual Filter > "When the filter value is not available" > Hide view).
Comment #6
creando sensaciones commentedHello
I already changed my approach and do all display adaptation in the templates. So I uninstalled DS.
It has nothing to do with this bug. Was just a better way to achieve my goals. Thanks.
Achim