I can't seem to get views accordion to work. On the views page, the accordion displays and works perfectly but it doesn't work in either a block or in a page. I have other jQuery plugins such as nivo slider working and other jQuery plugins but for some reason this one doesn't seem to work. It just displays the title and the body text. I'm not sure exactly what i'm doing wrong but any help would be greatly appreciated.
| Comment | File | Size | Author |
|---|---|---|---|
| #12 | divAccordion.txt | 5.26 KB | dianacastillo |
| #9 | Screen Shot 2013-03-09 at 12.56.09 PM.png | 32.77 KB | JrodR87 |
Comments
Comment #1
CoolClick commentedIm having the same issue. what theme are you using?
Comment #2
JrodR87 commentedThe mothership theme
Comment #3
CoolClick commentedI'm using mojo another responsive theme. My guess is something in these themes are messing with it.
Comment #4
JrodR87 commentedIt is, I switched over to another theme and it works perfectly there. It at least narrows it down.
Comment #5
JrodR87 commentedI figured it out with the help of this link. It's the views-view.tpl.php file that causes the issue.
http://drupal.org/node/782712
Comment #6
CoolClick commentedJrodR87 you are a rock star. Great job finding that. It works for me as well.
Comment #7
JrodR87 commentedGlad to hear!
Comment #8
dianacastillo commentedI copied the views-view.tpl.php into the template directory of my theme, still doesnt work. I tried switchin to other themes that are not adaptive theme, doesnt work at all anywhere.
It doesnt work for me within views either. I only see the first field and when I click on it nothing happens.
Comment #9
JrodR87 commentedIt doesn't sound like a tpl file issue but something is just not configured correctly. In the Views, are you selecting the Format to be the Views accordion? How do you have it setup right now?
Comment #10
dianacastillo commentedHi, its not the setup because I made a clean install of drupal and did the same setup and it works there. so it means it has to be conflicting with some other module. how do I find out which module is causing the conflict?
Comment #11
JrodR87 commentedYou could compare what modules you have setup in the clean install vs your current install.
What version of the accordion view are you using? I'm using 7.x-1.0-rc2.
Sorry for the delayed response by the way. I thought I wrote back the other day.
Comment #12
dianacastillo commentedI have so many modules that it was too hard to figure out. I solved it by hand coding using the attached html template
Comment #13
JrodR87 commented