We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 37042
    • 384 Posts
    I didn't realise that you can use getResources to pull in content from a different Context.

    It's a really cool feature but when I click the Read More link
    <a href="[[~[[+id]]]]">Read more</a> 
    I'm getting the Unauthorised Page.

    Is there a way to allow someone to click Read More and have the full Resource load in Context B?

    Oddly enough, this was working on one of my three news headlines but has stopped now and is displaying my unauthorised page. [ed. note: eladnova last edited this post 10 years, 7 months ago.]
      ...
      • 37042
      • 384 Posts

      Still no joy with this one.
      I have the following settings in place. The = symbols below are just to separate the key and the value.

      base_url=/
      error_page=435
      http_host=myurl.co.uk
      site_name=My Site
      site_start=399
      site_url=http://www.myurl.co.uk/
      unauthorized_page:435
      site_status=Yes
        ...
      • You may need to make sure the users (anonymous and admin user groups) have at least load, view and list permissions to the context.
          Mark Hamstra • Developer spending his days working on Premium Extras and a MODX Site Dashboard with the ability to remotely upgrade MODX and extras to make the MODX world a little better.

          Tweet me @mark_hamstra, check my infrequent blog at markhamstra.com, my slightly more frequent ramblings at MODX.today or see code at Github.