Postponed (maintainer needs more info)
Project:
Views carousel
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
5 Aug 2010 at 21:55 UTC
Updated:
20 May 2012 at 19:00 UTC
Hello,
Views carousel is a helpful module but when my view-fields (image) are empty - the design from carousel will shown anyway in my site.
I use the view-block in my User-Profiles with arguments - any user upload picture - any users upload not picture. By users with no pictures - the "Views-carousel-Design" with the left/right arrows and so on will show anyway in the Profile although no picture in carousel available.
Anyone an idea how can i fix this?
Comments
Comment #1
drewish commentedSeems like you could modify the template to check $rows first:
Comment #2
mfer commentedI cannot replicate this. When I have no returned results it doesn't generate anything. Can you provide more details?
Comment #3
Berliner-dupe commentedHi,
an other alternative is.
Work with views + relationship + Filter
In "relationship" use ("my_field" -> fid) (your field from Views carousel) and then you use a new filter .... the filter call "file->file-ID" - make it "Operator: Is not empty - NOT NULL) over this field set the relationship-field - choose there your field "my-Field" ....
Now the Views carousel will show only when real pictures/content is available .
Sorry for my bad english - i hope you understand this.
Regards Matthias
Comment #4
drupalmouse82 commentedthanks! it works! my english is bad too!! ( i am from argentina) but i understand you very well! i'm working with drupal 7!!
regards Adrián