Sauter la navigation

[Résolu] isotope masonry and ajax filter

This support ticket is created Il y a 5 années et 2 mois. 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
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9: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/Karachi (GMT+05:00)

Marqué : ,

Ce sujet contient 3 réponses, a 2 voix.

Dernière mise à jour par Waqar Il y a 5 années et 2 mois.

Assisté par: Waqar.

Auteur
Publications
#1369137

Hello,
I use isotope.js to display a portfolio. lien caché
When I make a filter change by AJAX inside a view, the layout is broken. Can you tell me what to do to solve this problem?
Many thanks to you for your help.
Olivier

#1369753

Hi Olivier,

Thank you for contacting us and I'd be happy to assist.

If you'll select "Let me choose individual settings manually" option in the view's "Custom Search Settings" section, you'll some additional fields to attach Javascript functions, when the view's results update through AJAX.

Screenshot: lien caché

You can include the name of the Javascript function from the "isotope.js" which initializes the layout on the page load, in the "will run after updating the results" field, so that it can also execute when the results are updated through AJAX.

I hope this helps and please let me know if you need any further assistance around this.

regards,
Waqar

#1369759

Hi Waqar,
I added the function iso (); which is loaded initially but it does not change anything. The layout is still broken.
Thanks

#1369945

Hi Olivier,

Thanks for writing back.

Can you please share temporary admin login details along with the link to a page where this view can be seen?

Note: Your next reply will be private and though no changes will be made on your website, please make a complete backup copy, before sharing the access details.

regards,
Waqar