We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 18654
    • 191 Posts
    You can get resources from another context the same way as you would get any other resource - you just have to make sure that the permissions are set correctly in the other contexts. For example, if you have a resource with an id of 55 in context ’development’ you simply retrieve the object with:
    $modx->getObject('modResource', 55);
    

    Or something similar.
      God does not save those who are only imaginary sinners. Be a sinner, and let your sins be strong, but let your trust in Christ be stronger, and rejoice in Christ who is the victor over sin, death, and the world.
      • 22303 MODX Staff
      • 10,725 Posts
      Quote from: florian.l at May 03, 2010, 10:40 AM

      So, what about snippets? Is there a way to reach/show from another context?
      Not sure I understand. Snippets are not limited in any way by Context, but in general, should be Context aware in the way they are written.