Okay
  Public Ticket #1508782
Chart with use of %CURRENT_POST_ID% not working on direct access
Closed

Comments

  • wondong started the conversation

    I created a page to pull dynamic chart with use of %CURRENT_POST_ID% to pull custom chart filtered by post ID. It's working fine on wpDataTable but not working as wpDataChart when I directly access the page.

    Strange part is that it's working when I access the page through wordpress navigation click on the bottom (prev / next link as attached). 

    Visit https://icorank.kr/coin/prizm/ then you can see

    1. Static wpDataChart (working)
    2. Dynamic wpDataTable leveraging %CURRENT_POST_ID% (working)
    3. Dynamic wpDataChart referencing #2 wpDataTable (not working)

    But, when you click PROPS or PressCoin links on the bottom, you now can see #3 chart working. (If you click back to prizm via bottom link, then prizm page will work as well)

    My guess is that you didn't execute applyPlaceholders php function on direct hit of the page. Definitely, this is a bug to fix.

  •  472
    Isidora replied

    HI wondong,

    Thank you for your purchase.

    Please provide me a temporary WP-admin login for your site where this happens, so we could log in and take a look ‘from the inside’ as that’s the most efficient way to see and resolve the issue. We do not interfere with any data or anything else except for the plugin (in case that’s a production version of the site), and of course we do not provide login data to third party. You can write credentials here just check Private Reply so nobody can see them except us.

    Also provide me table id's that you use for making this charts so we can investigate.

    Kind Regards, 

    Isidora Markovic

    wpDataTables: FAQFacebookTwitterFront-end and back-end demoDocs

    Amelia: FAQFacebookTwitter |  Amelia demo sites | Docs

    You can try our wpDataTables add-ons before purchase on these sandbox sites:

    Powerful FiltersGravity Forms Integration for wpDataTablesFormidable Forms Integration for wpDataTables

  •   wondong replied privately
  •   Isidora replied privately
  •   wondong replied privately
  •  472
    Isidora replied

    HI wondong,

    We are not sure why current post id is not pass to our plugin when you visit pages outside of the website. We are not familiar with that custom post type that you are using on your site and there functionality, but what you can do is to turn on Follow table filtering for both charts. 

    Then when you visit page charts will follow table filtering and charts will work fine. For second chart you need to insert table  that you use for making that chart on that page, because when you use Follow table filtering table and chart have to be on same page. If you don't need that second table you can hide it with css.

    Kind Regards, 

    Isidora Markovic

    wpDataTables: FAQFacebookTwitterFront-end and back-end demoDocs

    Amelia: FAQFacebookTwitter |  Amelia demo sites | Docs

    You can try our wpDataTables add-ons before purchase on these sandbox sites:

    Powerful FiltersGravity Forms Integration for wpDataTablesFormidable Forms Integration for wpDataTables