• Resolved funkopopwave

    (@funkopopwave)


    Hi, i’m tryin your plugin to make from my blog an app and works muy good but i have one problem. Some of my pages display a table (Ninja tables data) generate by a shortcode plugin and that do not show on the app. I’m not getting any error, only do not show the table, the rest of the page content works great.

    can WP-AppKit works with shortcodes in wordpress pages? do you have any idea of wich mey be the problem?

    thanks in advance and congrats for your work

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Mathieu Le Roi

    (@mleroi)

    Hi @funkopopwave,
    Yes WP-AppKit works with shortcodes. Post content’s HTML is the same in the app (with shortcodes rendered) as it is on website’s front end.
    But if some custom CSS rules are required to render the shortcode’s HTML, it won’t be displayed correctly. You have to manually add those CSS rules to your app, by adding the corresponding CSS file to the “css” directory of your WP-AppKit app theme and linking this file in the “head.html” template.
    I guess that the Ninja Tables plugin requires some CSS to render correctly? If so you’ll have to import the Ninja Tables CSS into your app.
    Hope this helps,
    For any further questions about this matter, please contact us at support[at]uncategorized-creations.com, as explained here: https://www.ads-software.com/support/topic/support-policy-39/.
    If anything useful for others comes out we’ll post it back here.
    Regards,

    Thread Starter funkopopwave

    (@funkopopwave)

    Thanks i’ll try that ??

    Thread Starter funkopopwave

    (@funkopopwave)

    Hi again, the css importing do not worked but afther that i asked to the ninja-table creator and they told me this:

    “As I far I understand that WP-AppKit requires HTML dom to render the table and The default ajax render just render the initial table structure ( Without any content ).
    To solve this you have to render settings of the table select Advanced Render ( Legacy ).

    Please note that Advance render is available on Pro Version of Ninja Tables.

    Thanks”

    that should be the problem. thanks again for your time

    Plugin Contributor Mathieu Le Roi

    (@mleroi)

    Hi,

    Ok thanks for the feedback, I’ve done a quick test on my side too, by default Ninja Tables is rendering its tables dynamically using AJAX by default, which you won’t be able to do in the app unfortunately.

    The “Advanced Render (Legacy)” option (Pro version) suggested by the plugin author seems to be a workable solution indeed as tables would be pre-rendered on server side so they should appear correctly in the app. But I can’t guaranty this will work as we didn’t test it.

    Maybe a fallback solution could be : in the app, replace the tables by an element (text, image) saying that this content is only available on website, not in the app.
    I can give you directions about how to do this if you think this is a possibility for you.

    Regards

    Plugin Contributor Mathieu Le Roi

    (@mleroi)

    I’m now closing this issue, don’t hesitate to give more feedback if you tried the “Ninja Tables Pro version” solution.
    Regards

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Problem displaying data from a wordpress shortcode’ is closed to new replies.