Hi everyone,

I'm using views accordion in one of my view which also has a header with some text in it.
I activated the option "Open All/Close All" and the links are displayed over the header text. The header text should be at the top of the view but using that option it always display after the links "open all/close all".

I need some help to make the header display at the top.

Thanks,

CommentFileSizeAuthor
#3 Image 1.png76.7 KBHeilong
#3 Image 2.png109.48 KBHeilong

Comments

manuel garcia’s picture

Status: Needs work » Active

Hi Heilong,

I have tried replicating the issue you described, but for me it's working properly, the "open all - close all" links are being added below the view header, just before the accordion items... so I'm not sure what could be going on in your case.

Are you using HTML in your header? if so, can you paste here the HTML that you are using? perhaps the problem lies in there. Also, if the site is online so we can take a look at it... it would help :)

manuel garcia’s picture

Category: support » bug

Actually, I think I know what is going on, are you using field grouping and have activated the option "Use the group header as the Accordion header" ?

That is the only case where I see this happening, and this is actually a bug -- well spotted!

Please let me know how you have setup the view, and what options are you using for views accordion (a screenshot would be great)

I will take a look at how to fix this in the coming days - thanks for the report!

Heilong’s picture

StatusFileSize
new109.48 KB
new76.7 KB

Hi Manuel,
Yes it's exactly what I did, "field grouping and "Use the group header as the Accordion header".
You can take a look at the screenshots, but basically I just checked the options mentionned before and the Header is just a line of plain text, no HTML.
Thanks for your help,

manuel garcia’s picture

Status: Active » Fixed

OK, I've committed the fix for this one, see http://drupal.org/cvs?commit=208644

Will be shortly available on the dev package when it gets updated, or you can grab the file from CVS and overwrite the old one manually.

Status: Fixed » Closed (fixed)

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