We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 42465
    • 33 Posts
    I'm having a bad day today and I just can't figure this out.

    I have the following page structure

    Jobs (100)
        Category A
            Job 1
            Job 2
        Category B
            Job 1
            Job 2
            Job 3
        Category C
            Job 1
    

    etc

    The jobs page currently displays the Categories perfectly well but it's when I get to displaying their sub folders that I come a cropper. The idea is that when somebody clicks on Category A they see a list of the the jobs associated with this. I've got the following call but it's not working. I would have thought offset might work but no luck. I'm fairly sure I've done the exact same thing in the past but for the life of me I can't recall how.


    		
    [[getResources? 
       &parents=`100`
       &offest=`2`
       &limit=`false`
       &sortby=`menuindex`
       &sortdir=`ASC`
       &includeTVs=`1`
       &includeContent=`1`
       &showHidden=`0`
       &depth=`1`		   
       &tpl=`IndividualJobTpl`
    ]]
    


      • 42465
      • 33 Posts
      OK, the answer was simple

      [[getResources?
      &parents=`[[*id]]`
      &limit=`false`
      &sortby=`menuindex`
      &sortdir=`ASC`
      &includeTVs=`1`
      &includeContent=`1`
      &showHidden=`1`
      &depth=`1`
      &tpl=`IndividualJobTpl`
      ]]