We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 37717
    • 38 Posts
    Hello, my friends, i lost a week trying to fix MIGX bug, when this snippet show one cached filepath for all resources (there are many questions about it at forum like this

    http://forums.modx.com/thread/89267/images-wont-output-on-other-pages-with-getimagelist

    The solution is very simple - you have to delete cached output of filepath in ResourceMediaPath

    Just go to TOOLS - MEDIA - Edit ResourceMediaPath and add a ! to calling snippets in BasePath and UriPath

    WRONG example at MODX MIGX RTFM [[migxResourceMediaPath? &createFolder=`1` &pathTpl=`assets/resourceimages/{id}/`]]

    RIGHT SOLUTION [[!migxResourceMediaPath? &createFolder=`1` &pathTpl=`assets/resourceimages/{id}/`]]

    Just add ! all sun will be shining again :3
      • 37971
      • 14 Posts
      Quote from: rusamg at Jan 21, 2015, 09:26 PM
      RIGHT SOLUTION [[!migxResourceMediaPath? &createFolder=`1` &pathTpl=`assets/resourceimages/{id}/`]]

      Just add ! all sun will be shining again :3

      Thank you a lot! Lost about a hour on this. And will a few more I thought...