By geneatwell on
Is it possible to construct a page from Views that is a collection of other views? I have numerous galleries that I've been able to create using Views and I'd like to have a single gallery that is a collection of all of the galleries I created as an index page to access the individual galleries. I've put together blocks and pages in an attempt to solve the problem and have not been able to piece this together nor find anything using google or searching this site. I am trying to avoid using the canned programs for galleries in order to keep more options open in the future as I learn more about Drupal.
Thanks in advance.
Comments
-
I am not sure that you can create a View that is a compilation of other views, but there are a couple of modules that may help you achieve a more organized effect than blocks. One is called Panels (by the same developer who created Views) and the other is called composite_layout. I suspect that Panels will be the way to go. good luck
NOTE: I just stumbled upon these modules, which you may want to consider as well:
http://drupal.org/project/views_union
http://drupal.org/project/views_fusion
You can create an Attachment
You can create an Attachment View though. Then attach all the attachment needed to the Page View or whichever views you like. This way you can set the Page View as its main index to navigate through the other categories by attaching (by category) the sub-views to it.
Thanks to both of you.
bmv and evilgenius......Thanks for the quick responses.
Since I am using Drupal 6 at present and want to switch to 7 as soon as possible, the attachment route is the way to go. Not much documentation to lead me there nor to help me understand why I would even want to find it or use it, and I thank you for that, evilgenius. I've found some posts and may even wind up purchasing a book. Evilgenius, when I first read your post, I needed a translation tool to figure it out. I am certain there are many other pearls of wisdom such as attachments that need to be easier to find.
Thanks again!
Gene
You can easily create
You can easily create Attachment views the same way you create block or page views. For the attachment view there's a little setting down below where you can set what particular view the attachment will attach itself to. The views will work as a centipede, one view after the other. Just explore a little bit and you'll see how easy it is.
Attachments?
I've tried constructing attachments and the problem I have run into is that while each attachment on a page displays on the page, also displayed is the entire gallery. Each attachment defined as a view that displays a random image from the entire gallery with a link to the entire gallery and each of those views are properly displaying a single 'thumbnail' photo defined in ImageCache. I've tried setting up a page without fields, but I cannot figure out how to do that since Table, grid, jump menu, unformatted and HTML list all want a field, node or Panel Field. Additionally, each attachment occupies a single line instead of being able to line up horizontally and then page wrap a group of galleries.
What am I missing here?