This topic is locked
[SOLVED]

 Column width 5.1 - 5.2

2/18/2010 12:02:36 PM
PHPRunner General questions
A
alandob author

With PHPRunner 5.1 the column width always worked very well for me as each page looked correct. With 5.2 you have the option to adjust the column width, but we have to keep "adjusting" this to keep everything in order (our list pages have columns that are over a screen width) - or untick the width adjustment and the columns always set to the smallest width possible (which doesn't look good).
Is there a way to have the widths set as per 5.1 i.e always to the maximum width if the "adjustable" option is unticked, rather than the smallest width - it looks much better.

J
Jane 2/19/2010

Hi,
you can turn onResizable columns option on the Miscellaneoustab and then increase width of the main table on the Visual Editor tab.

A
alandob author 2/19/2010

.

A
alandob author 2/21/2010

I want to set the column width in the site setup not its use, so that every user has the same screen. Version 5.1 did this very well by expanding the columns within lists to the same width as the header - but version 5.2 compresses the columns to the minimum width possible. Can this be changed within settings as I don't want to use the "Resizable table columns" feature - just have the columns set to maximum width as per version 5.1

A
alandob author 2/24/2010



Hi,
you can turn onResizable columns option on the Miscellaneoustab and then increase width of the main table on the Visual Editor tab.


I have tried this and cannot see how to increase width via the Visual Editor, but can via a user screen. Please advice and also, is there anyway I can use the column width setup as used in version 5.1

A
alandob author 2/27/2010

Please can I have an update or reply reference this point, as I am using PHPRunner 5.1 at this moment and need to upgrade to 5.2, but with the list columns shown correctly. We need the columns to expand to the screen size as per 5.1 and not set to the minimum screen size as set in 5.2. I cannot change the screen size in visual editor.

vin7102 2/27/2010



Please can I have an update or reply reference this point, as I am using PHPRunner 5.1 at this moment and need to upgrade to 5.2, but with the list columns shown correctly. We need the columns to expand to the screen size as per 5.1 and not set to the minimum screen size as set in 5.2. I cannot change the screen size in visual editor.


Alandob,
Hi, I can probably help you out here,

Which specific layout are you currently using?
Vince

A
alandob author 2/28/2010



Hi,
you can turn onResizable columns option on the Miscellaneoustab and then increase width of the main table on the Visual Editor tab.


I understand that I can turn on the resizable columns and increase column widths via Visual Editor (via each column cell) which is a long winded job for each list screen as we have many list pages. Is there anyway I can set the column width with the same setting as 5.1 within the php generated files - as it has changed from maximum width to minimum width from 5.1 to 5.2?

A
alandob author 2/28/2010



Alandob,
Hi, I can probably help you out here,

Which specific layout are you currently using?
Vince


Hi Vince - we use the Madrid Layout

vin7102 2/28/2010

Alandob,
Ok, To make all of your list page tables fit to the page like 5.1 did, you will have to navigate to the following folder where PHPRunner is installed which is usually:
Local disk C: >>> Program Files (or Program Files (x86) for 64 bit) >>> PHPRunner5.2 >>> templates >>> layouts >>> Madrid >>> list.htm
Open this with any editor and find this line (its usually around line 4 or so):

<table name="maintable" class="data" border="0" cellpadding=3 cellspacing=0>


and replace it with this:

<table name="maintable" class="data" border="0" cellpadding=3 cellspacing=0 width="100%">


Save the changes to that file and go back into PHPRunner5.2 and try it out.
Regards,

Vince

A
alandob author 2/28/2010



Alandob,
Ok, To make all of your list page tables fit to the page like 5.1 did, you will have to navigate to the following folder where PHPRunner is installed which is usually:
Local disk C: >>> Program Files (or Program Files (x86) for 64 bit) >>> PHPRunner5.2 >>> templates >>> layouts >>> Madrid >>> list.htm
Open this with any editor and find this line (its usually around line 4 or so):

<table name="maintable" class="data" border="0" cellpadding=3 cellspacing=0>


and replace it with this:

<table name="maintable" class="data" border="0" cellpadding=3 cellspacing=0 width="100%">


Save the changes to that file and go back into PHPRunner5.2 and try it out.
Regards,

Vince


Fixed - your a star and I can now upgrade to 5.2 fully - many thanks for your support