Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter philology

    (@philology)

    Thanks; I’ve registered on your bug tracker and will report here on any bugs that I find in the future.

    Thread Starter philology

    (@philology)

    This appears to be a problem only with posts that have exactly one citation and that citation specifies page numbers. I’ll create a new topic for that specific situation when I’ve gathered more diagnostic data about what is happening.

    Thread Starter philology

    (@philology)

    Using the JavaScript debugger that is built into Chrome, I’ve determined that the exception occurs on line 386:
    tempItem += ” data-zp-author-year='” + tempAuthor + “-” + tempItemYear + “‘ class=’zp-Entry zpSearchResultsItem zp-Num-” + window.zpIntextCitations[“post-” + zpPostID][item.key].num;

    The item.key is for a different item than the one in the [zotpressInText] shortcode. I’ll try to do further debugging tomorrow.

    Thread Starter philology

    (@philology)

    I see the following exception when I include page numbers:
    Uncaught TypeError: Cannot read property ‘num’ of undefined
    at Object.<anonymous> (zotpress.shortcode.intext.min.js?ver=5.0.3:97)
    at Function.each (jquery.js?ver=1.12.4:2)
    at zp_format_intextbib (zotpress.shortcode.intext.min.js?ver=5.0.3:93)
    at Object.success (zotpress.shortcode.intext.min.js?ver=5.0.3:16)
    at i (jquery.js?ver=1.12.4:2)
    at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4:2)
    at y (jquery.js?ver=1.12.4:4)
    at XMLHttpRequest.c (jquery.js?ver=1.12.4:4)

    Thread Starter philology

    (@philology)

    The one problem that I continue to have is that I can’t get the [zotpressInTextBib] shortcode to work when the item includes page numbers. [zotpressInText item=”{TSKXG3SX}”] displays as expected, but [zotpressInText item=”{TSKXG3SX,10-11}”] displays the in-text citation as “(,,10-11)” and the bibliography as a spinning wheel.

    Thread Starter philology

    (@philology)

    I have a partial resolution to my problem.

    I decided to eliminate one possible cause of the issue, and I removed the [zotpress] shortcodes from the two sidebar text widgets (they weren’t really needed, and I could easily replace them with text). The [zotpressInText] and [zotpressInTextBib] shortcodes now work in post paragraph blocks, but they do not work if the [zotpressInText] shortcode is in a quote block.

Viewing 6 replies - 1 through 6 (of 6 total)