We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 29076
    • 615 Posts
    I have asked the same question once before, and I got an answer, but I just can’t find it back (after extended searching), and I don’t remember the answer. rolleyes So I’m sorry, but I ask it again: How can I set the width of the manager tree menu frame?

    This time I will bookmark the answer.
      I think, thererfor I am! But what I am, and why...?
      • 33337
      • 3,975 Posts
      If I am correct, its manager\frames\1.php
        Zaigham R - MODX Professional | Skype | Email | Twitter

        Digging the interwebs for #MODX gems and bringing it to you. modx.link
        • 29076
        • 615 Posts
        Thanks!  laugh I knew it was that easy.

        The code:
        <?php if ($modx->config['manager_direction'] == 'ltr') {
        	// Left-to-Right reading (sidebar on left)
        	?>
        	<frameset cols="260,*" border="3" frameborder="3" framespacing="3" bordercolor="#ffffff">
        		<frame name="tree" src="index.php?a=1&f=tree" scrolling="no" frameborder="0" onresize="top.tree.resizeTree();">
        		<frame name="main" src="index.php?a=2"  scrolling="auto" frameborder="0" onload="if (top.mainMenu.stopWork()) top.mainMenu.stopWork();">
        <?php } else {
        	// Right-to-Left reading (sidebar on right)
        	?>
            	<frameset cols="*,260" border="3" frameborder="3" framespacing="3" bordercolor="#ffffff">
        		<frame name="main" src="index.php?a=2" scrolling="auto" frameborder="0" onload="if (top.mainMenu.stopWork()) top.mainMenu.stopWork();">
        		<frame name="tree" src="index.php?a=1&f=tree" scrolling="no" frameborder="0" onresize="top.tree.resizeTree();">
        <?php } ?>

        Change the
        frameset cols="260,*"
        or
        frameset cols="*,260"
        to what ever you need.

        Bookmarked!
          I think, thererfor I am! But what I am, and why...?
          • 33337
          • 3,975 Posts
          I am glad it helped! laugh

          Thanks for sharing the solution as well.
            Zaigham R - MODX Professional | Skype | Email | Twitter

            Digging the interwebs for #MODX gems and bringing it to you. modx.link