We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 39583
    • 103 Posts
    I'm trying to display some content from a specific resource (76) on a page. But when I load this page the content from another resource is displayed (126).
    When I use [[+id]] on this page it prints the correct resource (76).
    When I use getResourceField with [[+id]] I still get the content of (126).
    If I hard code resource 76 I get the correct content. But that makes other things not working.
    If I unpublish the resource 126 it works. But I still need that resource too.

    Cleared cache, no good.
    Any other ideas?

    Cheers
    André
      --
      André
    • Do they by any chance have the same alias?
        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
        • 39583
        • 103 Posts
        Quote from: sottwell at Oct 04, 2013, 03:03 PM
        Do they by any chance have the same alias?

        Nope, not the same!
          --
          André
          • 39583
          • 103 Posts
          Just tried to duplicate resource 126 and deleted it. With the new resource it happens exactly the same.
            --
            André
            • 5430
            • 247 Posts
            Not sure there's enough info here to help much, can you provide more details about any snippet calls you're using? I assume no symlinks are involved?