I cannot get views accordion working. I have tried the following after installing and enabling the module:
- setting row style to fields
- providing 5 fields
- using the module's default styling
- disabling the modules default styling
- using a default view that comes with Views
- starting a new view from scratch
- view style = Views Accordion
- when I click on Theme:Information in the view it displays the following:
Display output: views-view.tpl.php, views-view--taxonomy-term.tpl.php, views-view--default.tpl.php, views-view--page.tpl.php, views-view--taxonomy-term--page.tpl.php
Style output: views-view-accordion.tpl.php, views-view-accordion--taxonomy-term.tpl.php, views-view-accordion--default.tpl.php, views-view-accordion--page.tpl.php, views-view-accordion--taxonomy-term--page.tpl.php
Row style output: views-view-fields.tpl.php, views-view-fields--taxonomy-term.tpl.php, views-view-fields--default.tpl.php, views-view-fields--page.tpl.php, views-view-fields--taxonomy-term--page.tpl.php
- I have tried different themes, including Garland (all with the same result)
- I have cleared the cache
- style: Table works as does Grid and HTML list
The live preview seems to default to the "Unformatted" style whenever I choose "Views Accordion".
What I don't understand (I will be teaching myself some of this in the near future) is how the theme information says the style output is:
Style output: views-view-accordion.tpl.php
and yet there is no change to the live preview.
If anyone has any insights as to how I might get this working, I would very much appreciate it.
I'm not sure what to try from here.
I have attached a screen shot of my view setup.
Thanks.
bdika
| Comment | File | Size | Author |
|---|---|---|---|
| bdika_views_accordion.png | 150.15 KB | bdika |
Comments
Comment #1
manuel garcia commentedThe accordion doesn't show on preview, only when being displayed normaly.
Comment #2
bdika commentedThank you Manuel. As you can probably tell, I am very new to Drupal.
Thanks again.
bdika
Comment #3
manuel garcia commentedNot a problem bdika, welcome aboard!
Comment #4
oneEcho commentedHi I've installed the views accordion module to display a list of cocktails using taxonomy and it's not working for me.
My taxonomy looks like this
Drinks
Classics
Drink 1 & ingredients
Drink 2 & ingredients
...more
Signatures
Drink 1 & ingredients
Drink 2 & ingredients
...more
I want the accordion to display 2 clickable options classics and signatures and when clicking on any of the 2, it will display a list of drinks.
What I get is classics, drink 1, drink 2, signatures, drink 1, drink 2 all as clickable options. I've also tried creating an accordion without using my taxonomy list and I can't manually create one.
Can someone point me in the right direction and tell me what I'm doing wrong please.
Comment #5
jaesperanza commentedStill an issue for some themes, posting in case it will help anyone.
In most cases this is due to conflicts with other jQuery scripts being used by the themes, or in some cases other modules. To troubleshoot:
Hope this helps!
Comment #6
manuel garcia commentedThanks @jaesperanza for the troubleshooting steps.
@oneEcho Please open a new issue rather than hijack a closed and unrelated one. I'm closing this as it is very old, and was reopened for an unrelated support request.