Forums Forums Search & Filter Pro Mansonry and AJAX Issues

Tagged: ,

Viewing 10 posts - 1 through 10 (of 13 total)
  • Anonymous
    #190686

    Hi there,

    I’ve managed to customise results.php to my requirements and have managed to apply the masonry layout to my results.

    I’ve had a few issues getting masonry to reinitiate after a search has taken place.
    I’ve been running the code within the “sf:ajaxfinish” event as per the information at… https://searchandfilter.com/documentation/faq/

    I had decided to focus on getting AJAX to work with Masonry before dealing with the search issue.
    I’ve added the code here…
    https://searchandfilter.com/documentation/3rd-party/post-grid/#masonry-ajax
    With my_grid_id updated.

    It’s causing some major display issues… https://mgg.devrap.co.uk/
    Any help would be appreciated and I’m happy to provide access if need be.

    Thanks,

    Kirk

    Trevor
    #190689
    This reply has been marked as private.
    Anonymous
    #190698
    This reply has been marked as private.
    Anonymous
    #190726

    Hi Trevor,

    I’ve just installed the Post Grid plugin and have tried to set it up as per the instructions.
    The searchandfilter and Post_grid id’s appear to be autogenerated, so I’m not sure how they can be matched, but not sure that’s necessary, as it’s just filtering the next query.

    The posts are paginated and all of the custom elements that I’d coded into your templates have gone, so I’d need to move them to template files for the post grid plugin, assuming they’re as easy to override as your templates.

    The search filter has also vanished. 🙁

    Any ideas?

    Regards,

    Kirk

    Trevor
    #190762

    Hi Kirk

    If you had added some quite unusual data (terms) into the search results, maybe the Post grid plugin is not the ideal route.

    If you are using Masonry, where did this originate from? Your theme? I also see you have WPBakery Page Builder installed.

    What sort of data are you outputting in each post (Featured Image, Title, Excerpt, Date, Categories etc.)?

    If it is ‘merely’ what is one your home page, what customisation needs doing? What I see there can be done by the Page Builder plugin.

    Anonymous
    #190849

    Hi Trevor,

    The link now shows where I was at… https://mgg.devrap.co.uk/

    Results per page are currently set to 20, but when reduced to 6 (or anything lower than total items) and the Masonry Ajax code added, that’s what was giving me the obscure display issues that were happening when I made the original post.

    What you were seeing yesterday, were the results of installing the Post Grid plugin.

    I’ve custom coded the masonry functionality based on the documentation and libraries here… https://masonry.desandro.com/

    I’m using the following theme… https://themble.com/bones/

    We use the WP Bakery plugin on most of our sites, but I’m not sure it’s necessary for this website.
    WP Bakery grids don’t offer enough filtering and search options, which is why we purchased your plugin.

    Long-term, I need to create a load of custom taxonomies to fully utilise your plugin but was trying to get the masonry and AJAX working together first.

    Regards,

    Kirk

    Trevor
    #190874

    The reason I asked about Page Builder is that we have a free addon for it. See this post:

    https://support.searchandfilter.com/forums/topic/formatting-functionality-issues/page/2/#post-184167

    Anonymous
    #190884

    I’ve created a couple of other pages now…
    Original: https://mgg.devrap.co.uk/
    AJAx: https://mgg.devrap.co.uk/ajax-test/
    Page Builder: https://mgg.devrap.co.uk/page-builder-addon/

    Enabling the Page Builder extension stops all page from working, so it’s currently disabled.

    Any ideas?

    Trevor
    #190890
    This reply has been marked as private.
    Anonymous
    #190931
    This reply has been marked as private.
Viewing 10 posts - 1 through 10 (of 13 total)