• Resolved w8tts

    (@w8tts)


    I’ve noticed a problem with the USI WordPress pages.? We have a number of entries, particularly in the state TablePress tables that use a su_tooltip to produce a pop-up message.? Such as: [su_tooltip style=”tipsy” position=”south” size=”4″ content=”Deleted: The Anhoe Island National Wildlife Refuge is closed to all public access. Boats are prohibited within one thousand feet of the island.”]<span style=”color: #ff0000″>DELETED – read more</span>[/su_tooltip]

    The above, which is on the Nevada page,? causes “Deleted: The Anhoe Island National Wildlife Refuge is closed to all public access. Boats are prohibited within one thousand feet of the island.” to pop-up when the red “DELETED – read more” has the cursor placed on it.

    The above worked until just recently.

    Now the kicker.? The above works just FINE if I’m signed into the Dashboard using my sign-in.? If I’m not signed-in it doesn’t work.? I’ve tried this on my wife’s laptop and I’m seeing the same thing.

    At first we thought it was the extra space between the “:” and the “#” in ‘color: #ff0000’ that was causing the problem. But apparently not.

    Is it a bug in WP itself. I’ve posted there wih no responce.

    Anyone seen anything like this?

    Ted

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi!

    Thanks for your post and sorry for the trouble!

    Nope, no bug in WP, and your code is fine as well ??

    You are just falling victim to TablePress output caching mechanism (a way to improve performance, by storing the generated HTML code of tables instead of re-rendering that on every page load). This mechanism has the drawback that dynamically inserted code, like from Shortcodes of other plugins, will not load its JavaScript code — which is however critical for some features.

    This caching feature is only active on the frontend, and only if the visitor is not logged in. That’s why you are not seeing it when you are logged in.

    Fortunately, the solution is simple: Just turn this caching off. For that, please extend the table Shortcode on the page where you have embedded the table with another Shortcode parameter, like

    [table id=123 cache_table_output=false /]

    After this, the popups should work fine again, everywhere.

    Best wishes,
    Tobias

    Thread Starter w8tts

    (@w8tts)

    Thanks, Tobias. After a quick test it appears to have solved the problem. I’ll do a little more testing later.

    Ted

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    great, that’s good to hear! If the issue persists, please let me know!

    Best wishes,
    Tobias

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.