We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 10512
    • 28 Posts
    Hello,

    I am working on a miniblog format for a couple of different subsections of my website. I would like to show the current blog listings in the sidebar, but only the ones that belong to the parent folder. I am using the same template for three different sections, each with its own miniblog. So what parameter would I use instead of using the folder ID number? Is there a parameter for dynamically showing the newslistings only from the current parent document?

    Here is the code in my sidebar. Instead of StartID=’56’ (for instance), is there a way to call StartID parent so that I don’t have to have a separate template for each section?:

    [[Ditto? &startID=`56` &summarize=`2` &total=`20` &commentschunk=`Comments` &tpl=`nl_sidebar` &showarch=`0` &truncLen=`100` &truncSplit=`0`]]

    Thanks!
    Catherine
      • 33337
      • 3,975 Posts
      &startID=`[*parent*]`

      Good luck.
        Zaigham R - MODX Professional | Skype | Email | Twitter

        Digging the interwebs for #MODX gems and bringing it to you. modx.link
        • 7455
        • 2,204 Posts
        I made a small snippet that maybe be intresting for you.
        http://modxcms.com/GetChildIds-096-1709.html
          follow me on twitter: @dimmy01