Posted by gbrussel on March 6, 2009 at 5:57pm
Jump to:
| Project: | Collapsiblock |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | gagarine |
| Status: | closed (cannot reproduce) |
Issue Summary
It would be nice to have the results that views spits out in a list be collapsible.
Views blocks do not spit out an ID attribute by default on their blocks, and the content within the block has a class of "view-content", not "content", which is what collapsiblock.js searches for.
I was able to have views spit out an ID attribute by overriding the template, but it still cannot collapse the view results.
Comments
#1
i second that!
#2
I third it!
#3
That would be sooo nice!!!
I've been trying to figure whether something like that is possible through CSS or something...
I want a big list of projects chronologically sorted with title and country showing initially (something very easily done) but I want to let the viewer expand one of the items in the list. How can this be done???
#4
No sooner had the ink of my post here dried than I found the solution!
Just check this awesome module: Views Accordion (http://drupal.org/project/views_accordion)
And if you want to use multiple fields in the collapsed form pay attention to the "Using several fields a the accordion header" section here: http://drupal.org/node/366263
#5
#6
Witch version you use of views. I try and every things work for me.
#7