We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 17837
    • 8 Posts
    I try to make a blog using new Articles addon for Revo. I'd like to know if it is possible to list my blog entries using getResources?
      • 38188
      • 17 Posts
      Yes, I have done so.

      This will list top 5 recently published resources under my articles-container(ID 2)
      [[!getResources? &parents=`2` &tpl=`ArticleRowTpl` &limit=`5` &showHidden=`1`]]


      This will do the same, but will only show articles with ID 3, 4 and 5.
      [[!getResources? &parents=`2` &tpl=`ArticleRowTpl`  &showHidden=`1` &resources=`3, 4, 5` ]]


      This will show top 5 articles, excluding article with ID 6
      [[!getResources? &parents=`2` &tpl=`ArticleRowTpl` &limit=`5` &showHidden=`1` &resources=`-6` ]]


      hope this helps.