We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 32070
    • 87 Posts
    I have a complex site with about 60 contexts. The majority of my users do not have access to the web context - instead they just have access to mgr and their own respective context. When these users click on the new resources buttons at the top of the resource tree (e.g. new document, new weblink, etc), the url that is generated includes 'context_key=web' rather than the correct context for which they have access.

    How should I approach this? These users will only have access to mgr and one other context and I'd like to have the URL correctly reflect the context for which they have access? I have no idea where to even begin to tackle this problem. Any suggestions appreciated!

    This question has been answered by webandflow. See the first response.

      Des
      webandflowdesign.com
    • discuss.answer
      • 32070
      • 87 Posts
      Nevermind - answered this one smiley

      I need to set the default_context for each user.
        Des
        webandflowdesign.com
        • 18373 ☆ A M B ☆
        • 3,141 Posts
        Or, update to 2.3, set the default_context on the user group level (so you don't have to create it for each individual user), and let them use the new + symbols per context wink
          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.
          • 28042 ☆ A M B ☆
          • 24,524 Posts
          Quote from: markh at Jul 24, 2014, 10:51 AM
          Or, update to 2.3, set the default_context on the user group level (so you don't have to create it for each individual user), and let them use the new + symbols per context wink
          Documentation?
            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
            • 32070
            • 87 Posts
            Quote from: markh at Jul 24, 2014, 10:51 AM
            Or, update to 2.3, set the default_context on the user group level (so you don't have to create it for each individual user), and let them use the new + symbols per context wink

            I'd love to - and I'm looking forward to upgrading - but it's a pretty substantial revo install that will involve some coordination with our offices scattered across two states. Part of me just wants to blow through and upgrade the whole thing now, but I suppose I should do some testing!!!

            The + symbol looks great.... however it doesn't solve the problem for weblinks, symlinks etc right? [ed. note: webandflow last edited this post 12 years, 2 months ago.]
              Des
              webandflowdesign.com