We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 49124
    • 16 Posts
    I have a very weird behaviour of getResources snippet not returning the same list on firefox and Chrome&IE. Here's the call :
    		<ul id ="actus-list">	
    			[[!getResources?
    		    &parents=`2`    
    		    &tpl=`actu_main_page_tpl`   
    		    &sortbyTV=`project_first_news_date`
    		    &sortdir=`DESC`
    		    &includeTVs=`1`
    		    &limit=`0`
    			]]
    		</ul>
    

    On firefox it's returning 6 resources(correct) and on Chrome or IE it's returning only 5 resources. All cache are diabled in modx and I clear the browser's cache and restart them... Do you have a clue ?

    This question has been answered by multiple community members. See the first response.

    [ed. note: griffongl last edited this post 9 years, 7 months ago.]
    • discuss.answer
      • 22840
      • 1,572 Posts
      Is one of the resources not published but your logged into the manager on firefox ?

      Also check the source code and see if it is infact returning the 6 but the last is hidden due to a css issue ?
        • 49124
        • 16 Posts
        Thank you Paulp for your answer. You were right the problem appears when I am logged into the manager on one of the browser, it makes my 6th resource appear. BUT this resource is correctly published !? Do you see a solution ?
        • discuss.answer
          Do you have any other user and resource groups active?
            Studying MODX in the desert - http://sottwell.com
            Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
            Join the Slack Community - http://modx.org
            • 49124
            • 16 Posts
            Yes that was the problem !! Thank you !