XF 2.1 whats-new/latest-activity question

Cupara

Well-known member
When looking at the template, I'm scratching my head.

First I see the category names on latest-activity:
Latest activity   XenForo.webp

Second, all I see in the template is
Code:
{$item.render()|raw}
in the news_feed_macros template but what I'm trying to do is use
Code:
{$item.Forum.gt_ag_agegate}
which will be placed in an if condition.
 
Take a look at XF\NewsFeed\AbstractHandler::render(), this is the method that does get called and should help you to understand how this does work.
 
Top Bottom