Adding sidebar with data in new page node


Active member
Hello Guys,

I have created a new page node following below guideline:-

I added below code in template to show sidebar:-

    <xen:include template="sidebar_online_users" />
<xen:include template="sidebar_share_page" />
Now it is showing share page and online users sidebar but online user side bar have no data means it is showing me 0 members online:-

How to show correct count. I know I need to add something in my listener but what?? And also I'm using widget framework to show latest threads and replies in forum view and thread view as side bar... How to use that same sidebar in this my custom page.

Help will be greatly appreciated :)

Please help me...thanks :)