Hi there, I´m using VBO tables in panels to perform actions on nodes and once I install the Accordion module (BTW, it works great, thank you) my table look is gone and it gets the unformatted list format and messes up with the vbo checkboxes and... well, my design is gone. Can someone point me how to "return" to the table format within the collapsed headers?

Do I do this only by theming? other?

thanks a lot

nico

Comments

manuel garcia’s picture

Looks like something is breaking js execution on that page, is the firebug js console spiting out any errors when you load the page?

nicodv’s picture

Hi Manuel. No, no js errors, everything looks ok, I think my question was not really correct, I'll give it another try: it seems reasonable that this happens, since the accordion is a style by itself (in format options in the view you cannot choose table and accordion, is one or the other) So my question is more how to mix both styles: table and accordion by theming or using template.php, etc. Any suggestions?

thanks a lot

nico

nicodv’s picture

I found this in the .module file (No great coder here):

function template_preprocess_views_view_accordion(&$vars) {
// inherit the normal unformatted classes
template_preprocess_views_view_unformatted($vars);

I see is inheriting the unformatted style by default, could I tweak this to ask for the table format instead?

thanks

nico

nicodv’s picture

Also, I have a paneled page, with a view in the left hand side that shows in a normal size, but the one in the right (using accordion) looks "zoomed in", characters are h2, or h3, but everything else is bigger too: the operations (VBO's) accordion, the view's title, etc Does anyone know why?

Thanks again

nico