1. 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

Discussion in 'XenForo Questions and Support' started by ScopeXL, Jul 4, 2012.

  1. ScopeXL

    ScopeXL Member

    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>
  2. Jake Bunce

    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.

Share This Page