WordPress.org

Ready to get started?Download WordPress

Forums

TablePress
[resolved] Auto Refresh (8 posts)

  1. Sundance
    Member
    Posted 1 year ago #

    HI,
    Great plugin indeed, but I have a question,
    I will use the table in a widget on my home page
    is it possible to auto refresh the table without refreshing the browser?

    http://wordpress.org/extend/plugins/tablepress/

  2. TobiasBg
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    thanks for your question.

    Sorry to disappoint you, but TablePress does not have a built-in functionality like this, and I think that this is way outside of the scope and intended use case of the plugin.

    I suggest that you look for a plugin that uses AJAX requests to automatically reload certain parts of a page. I'm not sure that something like this exists already, so you might have to develop it on your own, with JavaScript and PHP that integrates into WordPress.

    Regards,
    Tobias

  3. Sundance
    Member
    Posted 1 year ago #

    Thanks for quick response ,
    I will work on it on it post back here the solution ,
    my idea is to use the plugin to show scores , so its good idea to refresh the score automatically.
    regards

  4. TobiasBg
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    ah, I see. This sounds like an interesting project! You might want to look for something like a live ticker plugin then. I can imagine that something like this exists already.

    Best wishes,
    Tobias

  5. Sundance
    Member
    Posted 1 year ago #

    HI again,
    while browsing for solution I found this

    http://wordpress.org/support/topic/plugin-wp-table-reloaded-how-to-refresh-table-without-refreshing-whole-page?replies=10

    same what I want but for WP-Table Reloaded,
    I will try to work it out for tablepress

  6. TobiasBg
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    ah, yes, I had totally forgotten about this thread! Nice find!

    This should indeed help greatly with the JavaScript/AJAX code. Regarding the backend/PHP code, I would recommend a slightly different solution: Instead of using admin-ajax.php, just retrieve the content from the actual page that shows the table (or if that is very large from a small extra page that just has the table, via a Page Template), by using the jQuery's load() method, but only load a page fragment (see http://api.jquery.com/load/#loading-page-fragments ).

    Regards,
    Tobias

  7. Sundance
    Member
    Posted 1 year ago #

    HI,
    I couldn't figure it out , as I'm not a coder , I hope you find the time to do it even for a fee ?

  8. TobiasBg
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    I can't promise anything, but I can give it another look, and maybe find a solution.
    Could you maybe contact me via email, so that we can discuss details? My address is in the main plugin file "tablepress.php".

    Regards,
    Tobias

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic