First off, I love the module. I was about to just go and do a couple days worth of research to find out how I could do this very thing with views.

One feature that I am missing that I would like the option of implementing is the option to allow more than one data row open at a time. I know this isn't really "accordion syle" but it is still useful and seems like it would be a very useful/simple option.

When a row is clicked and opened, and a second row is then clicked, I would like for the first row to remain open until the user clicks again to close it. This is similar to the front page of http://www.slickdeals.net .

Currently this does not work with the option "Open/Collapse all" either. I would think if you had the Open All option turn on, and you clicked a row, it would only close that one single row. However, the actual effect is all rows are closed except the one you clicked which remains open.

Comments

manuel garcia’s picture

Version: 6.x-1.2-beta3 » 6.x-1.x-dev

It's true it's not within the scope of an accordion UI, though it is a reasonable request. I'll see what I can do, doesn't strike me as a hard thing to implement.
Only thing is that it'd be nice if we can get it tested with all different combinations of options, which is getting somewhat complicated. We'll see how it goes.

About the behavior of open all - close all buttons, in my test server, when I click on open all, all rows are opened, and then if I click to close one, only that one is closed, and the rest remain opened. This seems like what you'd expect, so I'm not sure if I'm understanding correctly, or if something else is going on on your side.

I do However see a non-intuitive behavior there, and that is, if you click to open the one you just closed, all others are closed. Again, we are pushing the scope of an accordion behavior, this module is slowly turning into a thing of its own. I'll see what I decide to do here, if you have any input let me know =)

-Mania-’s picture

I too would like to see the ability of keeping multiple rows open. Manuel, did you ever come to a decision on whether to implement this functionality to the Views Accordion? Thank you otherwise for the wonderful module.

manuel garcia’s picture

Assigned: Unassigned » manuel garcia

Yes, I do plan on implementing this feature, although well, with the setting turned on it wouldn't be an accordion any longer, but it shouldn't be too difficult to do.

Perhaps if I get a chance during the ongoing drupalcon I'll put some time into this =)

manuel garcia’s picture

Status: Active » Fixed

Ok, I've commited this new feature. Please test the latest dev tarball when it comes out, and let us know how it goes, although there should not be any problems with it.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

dromansab’s picture

Hi,

Is there the same option for Drupal 7 version?

Thanks!

manuel garcia’s picture

There isn't, jquery UI does not have this feature, it focuses only on accordions.

dromansab’s picture

Thanks,

I've found a solution using Views fieldsets module: http://drupal.org/project/views_fieldsets