When you have quicktabs holding views with a pager, the page number will be shared by all the quicktabs. When you you switch pages on one tab, the other tabs will also switch to that page.

CommentFileSizeAuthor
#9 quicktabs.jpg141.19 KBkatharine_gates

Comments

mjohnq3’s picture

Have you tried setting a unique Pager ID for each view? The instructions for Pager ID: "If using multiple pagers on one page you may need to set this number to a higher value so as not to conflict within the ?page= array."

aspilicious’s picture

What if its the same view with different arguments?

mjohnq3’s picture

Hmmm. I haven't run into that. Maybe create a separate display for each argument? If you weren't using Quicktabs I imagine you'd create separate Blocks to display your view and you'd have a similar problem if they were all shown on the same page.

aspilicious’s picture

Status: Active » Closed (won't fix)

I decided to clone my displays... *sigh* its a crappy solution but it is a working one.

steeph’s picture

One problem still persists for me: Whenever I switch the page of a view inside the quick tabs, the first tab is shown after. It switches the page on the correct tab, but it shows the first tab. I'm using Ajax on both views. Is there a workaround for this?

pasqualle’s picture

The tab is only changed to the default tab if there is full page reload. Views ajax pager does not make a page reload.
If you see a full page reload (see the browser tab icon), then the view is not an ajax view..

steeph’s picture

Thanks. That's the behaviour I expected. But it does switch to the default tab after the page of the view is switched and it is an ajax view. I see the blue clock animation icon and I don't see a page reload.

steeph’s picture

The quicktabs in which my two views are is a also a view. Can it have to do with that?

katharine_gates’s picture

Issue summary: View changes
StatusFileSize
new141.19 KB

OK I think I fixed this for my situation, in case anyone else has this issue.

I wanted tabs for "available" products and "sold" products that have been tagged to a specific "gallery".
I was having trouble with pagers in the non-default tab. If the default tab pager had more than one page but the quicktab did not, clicking on the non-default tab would result in the message associated with an empty view.

1) Create a view of products (with argument). This view has filter: stock level > 0.
This view is paged. I have set pager id to 1 and ajax to "NO"
2) Create another view of products (same argument). This view has filter: stock = 0. This view also has ajax set to "NO"
3) Create Quicktabs instance. See configuration in image. This has ajax set to "YES."

You can see it in action here: http://indigoarts.com/galleries/brazilian-prints-and-multiples