Handlers on client side

Plugin Development
  • Hello,

    What handlers to bound to the window object to get list of topics/posts titles of certain category cid on the client side?

    Is that possible?

    Thanks

  • When you are on the category page you can access the topics with ajaxify.data.topics and on the topic page its ajaxify.data.posts.

    There are also hooks fired whenever new topics/posts are added. They are $(window).trigger('action:topics.loaded', { topics: ajaxify.data.topics }); and $(window).trigger('action:posts.loaded', { posts: data.posts });


Suggested Topics