bfi_thumb not working on ajax request

Home Forums Calendar Products Events Calendar PRO bfi_thumb not working on ajax request

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #935253
    Ferry
    Participant

    I use Event Calendar Pro.
    I modify your view file and use bfi_thumb http://bfintal.github.io/bfi_thumb/ to customise the thumb image.
    It works ok, except if I try to search or click “Prev Events” that trigger ajax request.. the content result is not using bfi_thumb anymore.
    This makes the layout is not consistent.
    Could you please advise?

    #935369
    Barry
    Member

    Hi Ferry!

    The first thing I want to highlight is that you should not modify core plugin code – please instead refer to our Themer’s Guide which covers the correct (and safest) way to override and customize our views (of course, if you are already doing that – great!).

    To the problem at hand, I’m afraid I am unfamiliar with BFI Thumb. If the problem only occurs on ajax requests, though, perhaps the issue is that it relies on a browser event – such as document.ready or window.onload – to trigger its particular behaviours and that only happens once per page load.

    Perhaps you could contact the author (of BFI Thumb) to ask if that might be the case and, if so, check if there is some other way of triggering it at a later stage.

    #940546
    Barry
    Member

    Hi! It’s been a while so I’m going to go ahead and close this thread. If we can help with anything else, though, please don’t hesitate to create new threads as needed. Thanks!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘bfi_thumb not working on ajax request’ is closed to new replies.