We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 46856
    • 4 Posts
    Im tweaking manager theme for better RTL support. After fixing some issues I want to place "leftbar" on right and "main content" on left... I know Ex JS handle it but id cant find where it is configured. I think manager template design is not extendable easily and hard to modify.
    Where can I find configuration for manager "modx-leftbar" layout's position?

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

    • discuss.answer
      • 46856
      • 4 Posts
      Fixed it.
      in file "manager/assets/modext/core/modx.layout.js

      changed "region" to "east" in line 67

      I was ignorant earlier.
        • 28042 ☆ A M B ☆
        • 24,524 Posts
        You're braver than I am, digging around in the ExtJS wink
          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
          • 46856
          • 4 Posts
          Quote from: sottwell at Mar 14, 2014, 03:32 PM
          You're braver than I am, digging around in the ExtJS wink

          Thank You laugh
            • 28042 ☆ A M B ☆
            • 24,524 Posts
            That should be something to consider in the 2.3 Manager. This should be configurable, since hacking the core Manager like that will make upgrades difficult.
              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
              • 46856
              • 4 Posts
              Quote from: sottwell at Mar 15, 2014, 03:22 AM
              That should be something to consider in the 2.3 Manager. This should be configurable, since hacking the core Manager like that will make upgrades difficult.

              Yes you are right. As it makes sense to place the panel according to manager_direction variable. I set it to "east" when direction config is RTL, So you can change it via the settings panel in manager.

              var bar_region = MODx.config.manager_direction === 'rtl' ? 'east' : 'west';
                • 28042 ☆ A M B ☆
                • 24,524 Posts
                Nice! Needs to be suggested as a pull request by somebody who's modifying a fork, or added to the issues. https://github.com/modxcms/revolution
                  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