• Resolved Anonymous User 14460239

    (@anonymized-14460239)


    When I try to insert our library with [zotpressLib] the interface that is thereby generated does not respond to clicks. That is, I can select other collections and tags, but this has no effect on the bibliography shown.

    I can reproduce this bug with Firefox 38.0.5, Chrome 43.0.2357.81, and Safari 8.0.6 (all on Mac OS X.10.3). I have disabled all other plugins in WordPress and the respective browsers for testing and have used the twentythirteen theme. Safari does not report JavaScript errors in the console after selecting items from the dropdown (I haven’t tested that with the other browsers).

    You can find more information about my system in a previous post at: https://www.ads-software.com/support/topic/zotpress-555-imports-only-32-of-82-items-no-error-message?replies=1

    Thanks for looking into this!

    https://www.ads-software.com/plugins/zotpress/

Viewing 5 replies - 1 through 5 (of 5 total)
  • [email protected]

    (@mludlumusefulsolutionscom)

    I have the same issue. Changing the collection dropdown does not refresh data in that collection.

    [email protected]

    (@mludlumusefulsolutionscom)

    I found the issue. zopress.frontend.js is not enqueued.

    A workaround to this issue is to comment out line 283 of zotpress.php

    //if ( $GLOBALS['zp_is_shortcode_displayed'] === true )

    this global variable is set in shortcode.php at line 969, but the shortcode class is not instantiated on every page (cacheing?). I don’t have time to study the life-cycle of shortcode construction to give a better answer at the moment, and I’m not concerned about extra javascript downloaded.

    Thread Starter Anonymous User 14460239

    (@anonymized-14460239)

    Thanks a lot! I’m quite busy at the moment, but will test this next week. I don’t think its related to caching in my case, since I disabled all plugins (and object caching shouldn’t make much of a difference, or should it?). I’ll try to add some code to functions.php, so that $GLOBALS[‘zp_is_shortcode_displayed’] is set to true only for the pages where I need Zotpress. I’ll report back how that worked out.

    Plugin Author Katie

    (@kseaborn)

    Interesting, I’ll check this and get back.

    Plugin Author Katie

    (@kseaborn)

    I think this can be resolved by setting the variable to true in the library shortcode script file. Seems to be working on my end, so watch for the next release and let me know if it’s still not working.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Interface generated by [zotpressLib] does not respond in Zotpress 5.5.5’ is closed to new replies.