Viewing 15 replies - 1 through 15 (of 22 total)
  • Plugin Author Gemini Labs

    (@geminilabs)

    H @kmoty

    If I understand correctly, you are referring to Ajax pagination (using javascript to control pagination without a page refresh).

    This feature is next on the roadmap to be added.

    Thanks

    Thread Starter kmoty

    (@kmoty)

    I saw that ajax pagination was added. How i activate it? I have updates but pagination is still same.

    Thanks ??

    Plugin Author Gemini Labs

    (@geminilabs)

    The feature is being tested and will be released with v2.8.0

    Plugin Author Gemini Labs

    (@geminilabs)

    v2.8.0 is released. To enable dynamic (ajax) pagination, modify your shortcode as shown below:

    [site_reviews pagination="ajax" id="some-random-text"]

    Thread Starter kmoty

    (@kmoty)

    I tried it, but when i want to shift on next page of reviews all disappear.

    Check on it https://www.orin.sk/bioquant/

    vertigofactory

    (@vertigofactory)

    same for me, I get this message into the inspector:

    Uncaught DOMException: Failed to execute 'querySelectorAll' on 'Document': 'div.glsr-reviews.' is not a valid selector.
    
    at [domain]/wp-content/plugins/site-reviews/assets/js/site-reviews.js?ver=2.8.0:1:8930
        
    at XMLHttpRequest.r.onreadystatechange ([domain]/wp-content/plugins/site-reviews/assets/js/site-reviews.js?ver=2.8.0:1:5001)
    

    thank you!

    Plugin Author Gemini Labs

    (@geminilabs)

    Thank you @vertigofactory, that tells me exactly what is wrong. Sorry for the inconvenience, I’ll have that fixed shortly.

    If you would like a quick solution until then, you can simply add class="temp" to the [site_reviews] shortcode to fix it.

    vertigofactory

    (@vertigofactory)

    you’re welcome ?? thanks for your suggestion ??

    Plugin Author Gemini Labs

    (@geminilabs)

    @vertigofactory, @kmoty

    I have released Site Review v2.8.1 which should fix ajax pagination. Please let me know if it works now for you, and thank for helping me catch this quickly!

    vertigofactory

    (@vertigofactory)

    it works for me ??
    may I suggest you to add a “scrollToTop” feature after requesting for a new page through AJAX? maybe with something like an animated spinner to indicate that something is loading, how about this idea?

    Plugin Author Gemini Labs

    (@geminilabs)

    @vertigofactory

    I have just released v2.8.2 which adds scroll and loading animations on ajax pagination.

    vertigofactory

    (@vertigofactory)

    @geminilabs perfect, great job. Thanks a lot ??

    Hello there,

    Happy new year to everyone!

    I am having some problems with the “ajax” pagination.

    The page I need help for is this:

    https://www.worldvespa.net/%CF%81%CF%8D%CE%B6%CE%B9-%CE%BA%CE%B1%CE%B9-%CF%87%CF%8E%CE%BC%CE%B1/

    Sorry it’s in Greek, but somewhere near the end of the page you’ll be able to see the link towards “page 2” of the people’s reviews.

    Here’s a screenshot of how the link looks like (to help you cause it’s in Greek)
    https://1drv.ms/i/s!As5qMg1lt6uvlmIaUiBYL5ZUe9Y-

    I tried the “true” pagination and works fine, but when I switched to “ajax” and then shift on next page of reviews, they all disappear and it keeps on loading forever.

    Thanks in advance,
    Stergios

    PS I am using – WordPress Version 4.9.1
    – Site Reviews Version 2.9.5
    and browsing with Google Chrome Version 63.0.3239.84 on a Windows 7 64 PC

    • This reply was modified 6 years, 10 months ago by stgogos. Reason: wordpress version
    Plugin Author Gemini Labs

    (@geminilabs)

    If it keeps on loading forever then it sounds like a JavaScript problem. Have you passed an “id” attribute to the shortcode? (i.e. [site_reviews id=“randomtext”])
    It could also be a conflict with another plugin. I’ll have a look at it later today.

    Yes, I have passed an “id” attribute to the shortcode.

Viewing 15 replies - 1 through 15 (of 22 total)
  • The topic ‘dynamic pagination’ is closed to new replies.