• Resolved PAKelsey

    (@pakelsey)


    Tobias,

    First, thanks for your work on TablePress. I’ve begun to use it for my website. I think it is helping to sort my resources into a more readable format.

    I’m having a problem with using your TablePress and another plugin called Zotpress (https://www.ads-software.com/plugins/zotpress/). Zotpress is connected to Zotero, which is a research tool to collect bibliography entries and the like.

    When I first installed TablePress and had things originally configured it was working okay. However, something changed with WordPress or one of the two plugins to where the results I’m expecting are not materializing.

    Here is the page that shows the correct results and note that it is currently using only one cell with one shortcode: https://studyartsadministration.com/news/katie-test-page/

    Here is a near identical page, but I am using three cells with three identical shortcodes except I altered one of the two tags (note though that the first column for “legal,Podcasts” is the same on both pages but also results in different results): https://studyartsadministration.com/news/katie-test-page-2/

    I’ve gone back and forth with the author of Zotpress but I think I have identified that something within TablePress is causing the results to be altered. The Table settings for each of the two tables are identical.

    Any thoughts on what is impacting the plugin shortcode installed within TablePress? Thanks.

    Patrick Kelsey
    Savannah, Georgia

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    My assumption here is that this is related to the table output caching that TablePress performs, which might run into issues with the JS that ZotPress uses.
    To maybe fix this, please extend the used Shortcode to

    [table id=123 cache_table_output=false /]

    Regards,
    Tobias

    Thread Starter PAKelsey

    (@pakelsey)

    Tobias,

    Thanks for the insight. I tried using your suggested short code, but alas the same results. Just for curiosity, I also tried disabling all the JavaScript Library. That didn’t do anything to remedy the issue either. I think it’s the strangest thing. Any thoughts?

    Thanks,

    Patrick Kelsey

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    hhm, unfortunately, I don’t really know what else could be wrong here.

    Can you maybe post a screenshot of what you are seeing and of what you are expecting (e.g. by placing those Shortcodes outside a table)?

    Regards,
    Tobias

    Thread Starter PAKelsey

    (@pakelsey)

    Tobias,

    I have a challenge with screenshots, but I have two links here that provide the shortcode and the results:

    The first shows ZotPress+TablePress working together to provide the right results: https://studyartsadministration.com/news/katie-test-page/

    The second shows the two plugins, but when using three columns and three shortcodes it provides bad results: https://studyartsadministration.com/news/katie-test-page-2/

    Oddly, the only thing I changed between the two was a tag in a shortcode for Zotpress. It’s the strangest thing I’ve seen.

    It’s almost as if TablePress was allowing the shortcodes for Zotpress to pull or merge all the tags together and display them in each column versus each column having its own distinct shortcode. Perhaps TablePress is not recognizing each cell independently?

    Thanks,

    Patrick Kelsey

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi Patrick,

    ok, so the problem is that the table with the three columns is showing the same output three times, although you are using a different Shortcode for each column?

    From what I can see, the cause for this is that ZotPress is somehow generating the same ID for each of the three containers:

    <div id="zotpress-cd2c87ba280a665562f94da43cd3352f" class="zp-Zotpress zp-Zotpress-Bib">

    (when you “View Source” in the browser). Due to this, the ZotPress JS will print the output of the first instance to all three columns.
    You will therefore have to find out why ZotPress is generating the same ID for these three.

    Regards,
    Tobias

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Zotpress Plugin Shortcode Not Resulting In Correct Results’ is closed to new replies.