• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.1 Recent Activity Template

I am building a custom page and wish to use the output from the global Recent Activity page. However when I try to include the template for the feed it tells me it is empty when it isn't. Is there a special procedure to outputting the Recent Activity?

<div id="myDiv">
    <xen:include template="news_feed">
        <xen:set var="$noContentHtml">{xen:phrase news_feed_is_currently_empty}</xen:set>

Jake Bunce

XenForo moderator
Staff member
There is PHP code to fetch the news feed items. This is done in the controller which then uses that template. See this file:


If you are creating a page node then you can use the callback feature to execute your own PHP code.