Topic: How to set the width of the menu tree frame in manager?  (Read 868 times)

Pages: [1]   Go Down

#1: 4-Jun-2009, 07:10 AM


Sylvaticus
Posts: 487

I think, therefor I am. But what I am, and why...?

WWW
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.  Roll Eyes 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.

#2: 4-Jun-2009, 07:21 AM

Administrator

zi
MODx Special Forces /
Posts: 3,555

May Peace Be On You

WWW
If I am correct, its manager\frames\1.php

#3: 4-Jun-2009, 07:32 AM


Sylvaticus
Posts: 487

I think, therefor I am. But what I am, and why...?

WWW
Thanks!  Cheesy I knew it was that easy.

The code:
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&amp;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&amp;f=tree" scrolling="no" frameborder="0" onresize="top.tree.resizeTree();">
<?php ?>
Change the
Code:
frameset cols="260,*"
or
Code:
frameset cols="*,260"
to what ever you need.

Bookmarked!

#4: 4-Jun-2009, 07:43 AM

Administrator

zi
MODx Special Forces /
Posts: 3,555

May Peace Be On You

WWW
I am glad it helped! Cheesy

Thanks for sharing the solution as well.
Pages: [1]   Go Up
0 Members and 1 Guest are viewing this topic.