• Resolved Erlend

    (@sadr)


    I’m looking for a plugin that’ll let me run widget operations and display widget contents upon a button click or similar interactive event.

    Example
    Sidebar shows no open widgets, only 3 folded accordion menus:
    === Related Posts ===
    === Latest Posts ===
    === Users Online ===

    Upon page load, none of these widgets are loaded. Not their contents nor their associated operations. That requires direct interaction. So I click on “Related Posts”. Now, the related posts widget will run its “related posts” algorithm on the database and once it has its results it will display them:
    === Related Posts ===
    – Going fishing
    – Going hunting
    – Going hiking
    === Latest Posts ===
    === Users Online ===

    Could this be doable with Ajaxize?

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

Viewing 1 replies (of 1 total)
  • Plugin Author yoav.aner

    (@yoavaner)

    Hi Erlend,

    This is not possible, not directly anyway.

    What you described is a much more elaborate mechanism. If you know some javascript, you can probably do something similar however. Take a look at the FAQ for an example of a javascript snippet to refresh data.

    You should be able to write something similar that on click would fetch something using ajaxize.

    Cheers
    Yoav

Viewing 1 replies (of 1 total)
  • The topic ‘Can I use ajaxize to load any widget on demand?’ is closed to new replies.