adsk_cmgrs
9 years agoDirector
Recent Blog Articles Widget
We have a number of widgets setup on our community category pages which display relevant topics from forums and ideas. I'm trying to emulate the widgets to display the 3 most recent blog articles. Any thoughts based on the code used to bring in the 3 most recent ideas submitted?
<#include "category-page-ideastation.ftl" />
<#assign topics_count = restadmin("/categories/id/" + coreNode.id + "/topics/style/idea/count").value>
<#if (topics_count?number > 0 )>
<#assign cat_obj = "/categories/id/" + coreNode.id + "/topics/style/idea/recent?restapi.response_style=view&page_size=3">
<@ideastation "no" cat_obj coreNode.id/>
</#if>