Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Admin Box Widths...


theMusicMan

Recommended Posts

Hi All...

 

I have looked up on Wiki the instructions as to how to ammend the box widths which says I should do...

 

  • Change Box Column Widths

 

/includes/application_top.php about line 47

 

// customization for the design layout

define('BOX_WIDTH', 125); // how wide the boxes should be in pixels (default: 125)

 

This changes both the right and left columns.

 

I have done this - this changes the widths of the boxes in the main osC screens.. what I would like to do is simply chaneg the column width of the boxes that appear in the INITIAL main Admin screen... is there a setting for this one please...

 

John

John

Link to comment
Share on other sites

Hi Paul B - many thanks for your prompt reply...

 

check:

admin/includes/application_top.php about line 47

 

That's what the Wiki document says to do in my 1st post above - it changes the widths on the main osC Adminpages and that's not what I am after :( . I would like to change the width of the boxes shown in this pic..

 

adminboxes.jpg

 

Do you know how I do this...?

 

Thanks

John

Link to comment
Share on other sites

OK the URL I gave you changes the info box width in the rest of admin. The opening page is admin/index.php and apparently not under this system. So, at about line 106 in admin/index.php the table width is defined as 140 thus:

 

<td width="140" valign="top"><table border="0" width="140" height="390" cellspacing="0" cellpadding="2">

 

Change this to the width you want.

Link to comment
Share on other sites

... oh and 1 more thing Paul sorry...

 

Is there a way to sort the list of 'order status' entries that appear in the second table please...

 

I have several Internal status codes and I would like them to appear in alphabetical order if thst's possible...?

John

Link to comment
Share on other sites

The first 140 is the cell width and the second is the nested table in the cell. In IE at least the table forces the cell wider - you may need to change both for the likes of Opera ...

 

The order of orders? I don't know it's a page I never use or work on - but it would work something along these lines - you'll have to fill in the details.

 

In admin/index.php you'll see the place where this is called:

 

"select orders_status_name, orders_status_id from " . TABLE_ORDERS_STATUS

 

find this other 'order status' file and see how it gets this info in that order...

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...