We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 38314
    • 45 Posts
    Hi,

    I've created a new context with a basic ressource (2349) using a basic template.

    When I click to preview, I'm redirected to the home page of the site, wich is in the default context.

    I've made some settings in the new context :

    error_page = 2349
    site_start = 2349

    I've been following this doc : https://docs.modx.com/revolution/2.x/administering-your-site/contexts

    I use pretty URL a the root of my website.

    And I can't access this resource.
    What am I missing ?
      • 4172
      • 5,888 Posts
      I think, you will need something, which switches to your context, for example the xrouting-plugin
        -------------------------------

        you can buy me a beer, if you like MIGX

        http://webcmsolutions.de/migx.html

        Thanks!
        • 3749
        • 24,544 Posts
        Also, make sure your User Group has a Context Access ACL entry giving access to the new context with a Policy of "Administrator". If that works, you can use a more restrictive Policy later.

        When you preview a document from the Manager, your status is unusual. You are not logged in in the front end, though you will have 'view_unpublished' permission. IIRC, the rest of the permissions are those of the (anonymous) user. Permission-wise, you won't see the front end as a real visitor would.
          Did I help you? Buy me a beer
          Get my Book: MODX:The Official Guide
          MODX info for everyone: http://bobsguides.com/modx.html
          My MODX Extras
          Bob's Guides is now hosted at A2 MODX Hosting