Closed (won't fix)
Project:
Node Gallery
Version:
6.x-2.0-alpha11
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
23 Nov 2009 at 15:00 UTC
Updated:
24 Nov 2009 at 22:54 UTC
I want to display the galleries in a grid. I imported the code in views to display the galleries in tables, which I found in the handbook here http://drupal.org/node/544748. Then I changed the Table style to Grid. It seemed to work fine, but then I noticed a duplicate of the gallery shows up for each image in that gallery. How can I make each gallery display only once?
Comments
Comment #1
dbeall commentedMany of us have used the code without any issue....
This is an issue with distinct setting in views not working.
I do not know the fix for the views problem.. I am watching this for any news.
This is a post at views:
Node Distinct is not working anymore:
http://drupal.org/node/140061
similar/same as this node_gallery issue:
How to create a view block displaying all albums/galleries w/ images:
http://drupal.org/node/639216#comment-2293772
Comment #2
dbeall commentedI have one possible shot in the dark... just a maybe from Rik..
Did you "select" or "choose" a cover image for each gallery, or are they just "default selections" from the gallery module..?
Comment #3
dbeall commented@Toxid, what version of views are you using..?
Comment #4
Toxid commentedThanks for replying.
I'm using views-6.x-2.7, and I have chosen a cover image for the gallery. I've read those threads but found nothing helpful.
Comment #5
dbeall commentedupgrade your views to to the newest version 6.x-3.0-alpha1
That should fix your issue..
It has fixed the other similar node_gallery views issue here:
http://drupal.org/node/639216#comment-2297638
Comment #6
cholden commentedHi,
I had the same problem as you and solved it by updating to the newest version of views (6.x-3.0-alpha1). Seem like views-6.x-2.7 ignores the distinct function.
Comment #7
Toxid commentedThat fixed the problem! Thanks! I thought I should avoid the alpha version to be on the safe side, turns out it was the other way around.
Comment #8
dbeall commented@Toxid, can you give us details about what you did so we can help others with this.
Which version of views are you using, or what fixed the problem..?
Comment #9
Rik commentedHe updated his Views module to 6.x-3.0-alpha1.
Comment #10
dbeall commentedthanks Rik, wanted to be sure so I don't mislead people and have a solid answer when it comes up.. It really discourages people when the answer is 'maybe'.
Comment #11
dbeall commentedI found out that project/content_access breaks the distinct function in views 6.x-2.7. Uninstall the module and the distinct view works again in 6.x-2.7.
Comment #12
dbeall commentedupdate title
Comment #13
dbeall commentedfurther testing shows views 6.x-2.7 distinct not working with either project/content_access or node_gallery access installed. once removed, views works fine.
This was marked fixed because views 6.x-3.0-alpha1 seemed to fix the problem.
Comment #14
Toxid commentedThat's right, I updated the Views module to 6.x-3.0-alpha1, and the problem was solved.
Comment #15
kmontyIt is not fixed because it won't work with views 2.7
That said, I won't fix it because of views 3.