We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 34004
    • 125 Posts
    I have two getResources calls on the same page:

     [[getResources?
    &resources=`35,36,37,38`  
                	&limit=`4`   	
                	&tpl=`frontpage-boxes`
                ]]  
    


    and

    [[getResources?
    	&resources=`35,36,37,38`  
        &limit=`4`  
        &includeTVs=`1` 	
       	&tpl=`frontpage-sections`
    ]]  
    


    In both frontpage-boxes and frontpage-sections I am using the [[+idx]] tag to number each resource as they are generated. The first getResources call numbers them correctly 1-4, however the second getResources call always numbers all of them 1.

    Assuming it's a caching issue but am unsure how to resolve it without calling each getResources call uncached - any clues?
      • 44234
      • 219 Posts
      Can't replicate this issue. What version of MODX and getResources are you using and can you post both tpl's? [ed. note: davidpede last edited this post 11 years ago.]
        Find me on Twitter, GitHub or Google+