Home › Forums › Calendar Products › Filter Bar › Revisited: Public Filters Update Function
- This topic has 5 replies, 2 voices, and was last updated 5 years, 10 months ago by Claire Lanyado.
-
AuthorPosts
-
May 30, 2018 at 2:55 pm #1542390Claire LanyadoParticipant
Hey guys,
Re: this thread: https://theeventscalendar.com/support/forums/topic/public-filters-update-function/ – I’d like to re-open the discussion as the solution provided isn’t exactly what we’re looking for, and I would surprised if you guys didn’t have a callback function to be able to tie into for when AJAX events occur when updating the views to be able to execute a script when that happens. Can you please look into this further?
Thanks,
JonahMay 31, 2018 at 2:50 pm #1543384CliffMemberHi, Claire/Jonah.
tribe_is_ajax_view_request( 'photo' )
exists — from /wp-content/plugins/the-events-calendar/src/functions/template-tags/general.phpAlso, there is an internal feature ticket for us to update from Isotope JS to either its latest version (to get https://isotope.metafizzy.co/layout-modes/fitrows.html) or to scrap it and use Flexbox CSS instead.
Either way, that’s really what we want here, and I’ve added your two threads about it to the internal ticket.
Please let me know if you have any follow-up questions on this topic.
June 11, 2018 at 9:18 am #1550791Claire LanyadoParticipantHi Cliff,
Thanks for your reply! I was more looking for a callback function that I could execute rather than a conditional check. Do you know of anything like that? Getting Isotope updated t include fitrows or implementing flexbox would be great too!
– Jonah
June 11, 2018 at 4:20 pm #1551090CliffMemberPlease try
photo-view-ajax-success.tribe
from /wp-content/plugins/events-calendar-pro/src/resources/js/tribe-events-photo-view.js (or .min.js) and let me know if that is what you were looking for.June 12, 2018 at 10:01 am #1551690Claire LanyadoParticipantThanks Cliff!
June 12, 2018 at 1:54 pm #1551855CliffMemberGlad that worked for you. You’re welcome.
-
AuthorPosts
- The topic ‘Revisited: Public Filters Update Function’ is closed to new replies.