Strange, it's working perfectly when I preview it in the view, but it's not working at all on an actual page or block. I can see that the appropriate js and css files are being called, but no accordion classes are added in firebug.

I was trying to group by a field and use that as my accordion header, but I have also tried using a very simple setup of just 2 fields, same thing occurs.

Any ideas?

Comments

mollybt’s picture

Status: Active » Closed (works as designed)

nevermind, it was my own jQuery conflict.

dalearyous’s picture

can you elaborate?

i am having the same issue.

error:
TypeError: $(displaySelector + ":not(.ui-accordion)").accordion is not a function

stephen ollman’s picture

Ok the conflict part throw me but as I started to look in the header code I was seeing different versions of JQuery being called by both modules and my theme.

My issues was that in the themes/core/js folder there was an earlier version of jquery-1.7.2.min.js.

I renamed this to jquery-1.7.2.min.js.old and views accordion worked on the page as expected.

Hope this helps someone.

adilsarwar1’s picture

Issue summary: View changes

My issue solved. There was 2 jquery included.i remove one of them and issue solved.