Skip Navigation

[Resolved] Isotope Filtering

This support ticket is created 6 years, 8 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- - 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00
- - - - - - -

Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Tagged: 

This topic contains 1 reply, has 2 voices.

Last updated by Beda 6 years, 8 months ago.

Assisted by: Beda.

Author
Posts
#625749

I was wondering if it would be possible to improve on the grid / post filtering animations in Views by adding some annimations

Possibly using something like this hidden link or some other method, like the option to fade in, fade- up etc when filtering and first appearing

Anyway, just thought that would be a nice added touch

Thanks!

#625820

This will not be added to Toolset Views as a core feature if this is what you mean.

Let me explain why:
- assume we add this library
- it is a beautiful, and powerful library, but:
-- another user will discover or use already a "nicer and more powerful" (maybe just in their opinion) library
-- users will want to customise this and will ask for it through Toolset (even thou, it would be an external library just like Bootstrap)

These are the main reasons we do not add "nice" libraries like Select2, or this one.

We would satisfy only a few people, but add a large code piece, which needs maintenance and also may fail (what if the 3rd party stops developing, or updates, etc)

That is what leads Plugin and Theme developers to rely as much they can on WordPress only, and not on any other independent script or library (often impossible, but that is somehow the first thought when you talk "3rd party libraries": updates and compatibility).

Now, I assume you can add most of that library manually and apply it to Views using its classes, but, this would fall under the custom code, and there may be a few conflicts with our own AJAX updating mechanism.
What is the problem most often is, that after enqueueing the JS and CSS codes, applying them to your HTML, and updating a View with ur AJAX filters, the JS of the 3rd Party suddenly stops working?

This is because our AJAX call needs to re-fire the 3rd party JS after our search is done.
For that, we added JS Hooks to the JS Editor of the "Custom Filter" section in every View.
There, you might re-hook your JS functions, which will fire the 3rd party JS again.
We cannot provide much code examples for this, but I wanted you to know the feature is there, in case you will try to add this manually and run into issues with ajax updated views.

I filed the request, added your voice, and will upvote it as comes, but i cannot guarantee for above reasons that this will be considered.