Hi folks,

I have been struggling with this one for a while and have read about others with similar issues, but no solutions.

System config:
Drupal 6.22
PHP 5.3.6
jQuery UI 1.7.3
jQuery Update 1.3.2
views 6.x-2.14 and 2.16
Quicktabs 6.x-2.0 and 3.0
ViewsAccordion 6.x-1.5

I have a quicktab configured with 4 tabs and each contains a view. They are all the same view, with a date argument parsed to return data for 4 weekdays. Ajax is off in the view.

Here is the problem:
When ajax is disabled in quicktabs, the views render, but the accordions do not. If I enable ajax in quicktabs, the accordions function on the first tab, but not on the others.

Any ideas on this?

Thanks....Andrew

Comments

hedel’s picture

The same issue

  • Drupal 7.12
  • Views 7.x-3.1
  • Views Accordion 7.x-1.0-rc1
  • quicktabs 7.x-3.3
  • Chaos tool suite (ctools) 7.x-1.0-rc1

If the renderer of QT is in 'quicktabs' only is working accordion effect in the tab by default, but not in others. The accordion is too a view with diferent arguments for each tab. I try to create a node with accordion effect and is making the same problem. So I think is problem with the renderer of QT.
any idea?

combert’s picture

Version: 6.x-1.5 » 7.x-1.x-dev

I found that the accordion would only work the first time the page is loaded.

If I reloaded the page, the view would display, but the accordion would not. The reason was that blocks were set to cache.

So it is unfortunate that block caching has to be disabled for the accordion to function. It seems that the views-accordion.js file is not loaded in cache mode.

I hope it helps.

manuel garcia’s picture

Status: Active » Closed (works as designed)

@combert Block caching does not need to be disabled for the accordion to work. The module does nothing to affect caching.

As far as quicktabs go, I know there's an outstanding issue. Cant remember why it happened. In any case, if the accordion is not visible when loaded, it cannot function properly. If it's loaded on demand via ajax, I guess it should work, though this is just a hope. This is not something that WE can fix within this module.

miccelito’s picture

If ajax is enabled in quicktabs many things could and would get odd i.e. Views accordion, Google Maps, Addtoany share buttons, et cetera wont work as expected. So this seems to be an Qtabs issue.