Skip Navigation

[Resolved] Ajax Pagination in tabs not working

This support ticket is created 4 years, 10 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 7 replies, has 2 voices.

Last updated by garenM 4 years, 10 months ago.

Assisted by: Minesh.

Author
Posts
#1501383

Hi I have a toolset views shortcode with ajax pagination. The pagination working only in active tab the other paginations not working and the url is changes with the wpv_paged=2. Can you please advise?

#1501637

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Can you please share more details about how exactly you added the pagination to your view and where exactly its not working?

It would be great if you can share problem URL and access details.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I have set the next reply to private which means only you and I have access to it.

#1503225

hey any update on this?

#1503311

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I just checked on my local test install and I do not able to reproduce this issue.

I need a duplicator copy of your site in order to check this issue further.

Can you please send me duplicator copy of your site:
=> https://toolset.com/faq/provide-supporters-copy-site/

I have set the next reply to private which means only you and I have access to it.

#1503345

hey you can use the details that i send you yesterday as the site is not live

#1504611

hey i saw that the pagination now is working hidden link
Can I know what you did?

#1504617

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Great - glad to know that now it works.

First of all, I've added the Tabs using the Layouts Tabs cell:
=> https://toolset.com/documentation/user-guides/layouts/tabs-cell/
Rather than the tabs you added using your code:

<ul class="nav nav-tabs city-menu">
<li class="active"><a data-toggle="tab" href="#cities" style="background-color:#000">Направления</a></li>
<li><a data-toggle="tab" href="#objects" style="background-color:#000">Чем заняться</a></li>
</ul>
<div class="tab-content">
<div id="cities" class="tab-pane fade in active">
    [wpv-view name="cities-pagination-in-hidden-menu"]</div>
<div id="objects" class="tab-pane fade">
    [wpv-view name="objects-pagination-in-hidden-menu"]</div>
</div>

and then i've unchecked and saved the view and then checked the option "Update the URL of the page when paginating the View" and saved the view available under the "Advanced Options":
=> hidden link

As you can see it works now.

#1504719

Thank you for your help!