Hi there.

I have gone through the many issues and feature requests within the queue, and have not found any issues... other than the fact that my problem seems unique.

I have 3 QT Blocks. Each show inside 3 different panels. 2 show the same view with different static arguments, and pulling a UID and GID from the URL as the second argument. The 3rd Block, shows 4 views and 1 QTs block.

The 3rd block, has AJAX enabled... the only tab to be loaded with Ajax is the QT block, the 4 views do not load. Nor do the views on any of the other quick tabs. :(

Help...

Im Using the 2.x release, first RC2 and now Dev - neither work as stated above. Erm... cant think of any other info other than Views arent loaded via Ajax, and they dont use Pagers...

Comments

Pasqualle’s picture

Status: Active » Postponed (maintainer needs more info)

as I understand correctly, inside ajax quicktab you have a panel and inside panel you have a view

like this:
quicktab (ajax)
-panel
--view

that does not work, the view must be directly in the quicktab. #345175: what could be inside ajax quicktabs
or if you change the ajax quicktab to non-ajax quicktab that should work also

mckeen_greg’s picture

Nope, not exactly. :)

Panel
- with QuickTabs Block (1) in a Pane.

Inside QuickTabs Block (1):
- View
- View
- Another QuickTab Block (2)
- View

The three views do not show when I have AjaxLoad enabled. Whereas the QTB (2) does load. Thus, Views dont work with the AjaxLoad enabled... when disabled they are loaded on pageload, but this is clunky and I like the ability to have everything loaded via Ajax on selecting a tab.

Pasqualle’s picture

Status: Postponed (maintainer needs more info) » Active

I do not see why this is not working, I will have to test it. Panels use ajax loading? I don't know, but that would be a problem..

#374254: Quick tabs not working with mini-panels inside panels This is a very similar issue.

just to be sure: With "AjaxLoad" you mean setting the Ajax to "Yes: Tab content will be loaded at tab click." on the Quick Tabs admin interface, and not the Ajax Load module..

an another note: QT does not work correctly when Block cache is enabled, please check that also..

mckeen_greg’s picture

Iv never enabled Block Cache in my two years of Drupal work. ;)

By Ajax Load, I mean the setting: "Yes: Tab content will be loaded at tab click." Not the module. :)

I can provide access to my site if this would help find what is breaking...

katbailey’s picture

Status: Active » Postponed (maintainer needs more info)

Yes, please provide us with a link to your site (via my contact form if you prefer) so that we can take a look at the problem and figure out what's causing it.

elizarov’s picture

Any results?

I have the same issue - Quicktabs are loading only the first tab if I set "Tab content will be loaded at tab click".
No matter if I change tabs contents to blocks or pages.

I'm not using Panels module.

Pasqualle’s picture

@elizarov:

quiestions:
are you using the latest release (rc3)?
Do you have block caching enabled?

elizarov’s picture

Yes, RC3. Had the same with RC2
Block caching is disabled as caching at all.

It worked ok before I changed site hosting, so can it be a server tuning trouble?

Pasqualle’s picture

Is the QT Block simply inserted into region, or do you use any special module or code to display it?
Do you have any module which uses javascript to display or modify blocks?
Can you try it with Garland theme?

check your <head> section in your page source. Can you find these lines? :

<script src="/sites/all/modules/quicktabs/js/quicktabs.js?c" type="text/javascript">
...

<script type="text/javascript">
..
  jQuery.extend(Drupal.settings, ... "quicktabs": ...

elizarov’s picture

Yes, simply inserted, tried it on Garland theme with no other blocks - the same, just showing "Loading..." and an empty tab then.
Have no such modules.

And yes, I have these lines.

katbailey’s picture

Does it make any difference if you are logged in as admin?
Any way we can get to see this in action? It's very hard to diagnose without being able to see it, and we haven't been able to reproduce this problem ourselves yet.

Pasqualle’s picture

just showing "Loading..." and an empty tab then

It seems like you simply do not have any content (like wrong node ID), or you do not have access to that content.

Does it work in non-ajax mode? When setting to "No: All tabs will be loaded at page load."

elizarov’s picture

No difference if I'm anonymous.

I've sent you a message with site address. Thank you very much for your time!

elizarov’s picture

Yes, it works ok in non-ajax mode.
And I've also tried it with tabs containing views, nodes and blocks - still the same.

katbailey’s picture

Can you make sure you're using the most up-to-date Views code? It looks like it's not finding the correct js it needs to load a View via ajax.

elizarov’s picture

I am sure I'm using the right code.

I've enabled Firebug and it says "Drupal.Views is undefined" on callback="Drupal.Views.Ajax.ajaxViewResponse"

But when I replace tab content with a block or node, it says nothing - just showing "Loading" for a second, and nothing more.

Pasqualle’s picture

Can you try a simple ajax view without using QT.
create a view; set Use AJAX: yes; create a block display; put that block into a region.. does it work?

elizarov’s picture

Yes, it is showing the view.
But when I enable pager on this ajax view, changing a page causes all page's reload. Is it ok?

Pasqualle’s picture

no, it is not. Do you have javascript enabled in your browser?

elizarov’s picture

Fixed it - I've had "Disable javascript with Views" setting on.

Now it works =)

Thank you!

Pasqualle’s picture

Title: Ajax Load not working » Ajax Load not working ("Disable javascript with Views" setting)
Category: bug » feature
Status: Postponed (maintainer needs more info) » Active

@Katherine: Should we check this setting for views inside ajax quictabs?

Pasqualle’s picture

we could display an error message in this case, but Drupal does not really use error checking..

Erik Seifert’s picture

I you are using jquery ui tabs, the problem is a conflict with the pager. All urls with a fragment will be processed. Like pager links.

oerpli’s picture

momper’s picture

subscribe

neelan’s picture

I have recently replaced the ajax_view.js file in the live site. (from same backup). After that my pagination using ajax is working, instead it loads new page. can you please tell me how to fix this.

netw3rker’s picture

Issue summary: View changes
Status: Active » Closed (fixed)