New Community Forums are coming. Watch this space for news.
Subscribe: RSS
  • Hi,
    I have 2 places where I want to display my latest posts: In the footer I want to pull in the latest 3 posts with limited information i.e. just a title and date and then when in the blog template I want to have a side bar that displays the normal style, title short summary number of comments etc.

    Is there a way I can pass a value into [[+latest_posts]] that will determine which chunk to use? Or what would be the best way to accomplish this?

    Thanks, Ross.
    • Hey Ross!
      You could easily use getressources for this. Just have 2 different tpls where you set up which information is displayed. this can be placed wherever you want to have it.

      [[!getResources? 
        &parents=`20`
      &resources=`-1`
          &tpl=`blogPost`
      &includeTVs=`1`
        &includeContent=`1`
        &limit=`3`
       &sortby=`menuindex`
      &sortdir=`ASC`
      ]]


        https://www.beautyislife-shop.de - premium make-up!
        https://www.topsterne.de - sell it here!
        ---------------------------------------------------------