Community Add-Ons

Maintainers: trikinuke
Add file to this package
Top » InfoBoxes

Admin boxes always visible (pulled-down)
for osCommerce Online Merchant v2.2

Admin boxes always visible (pulled-down)



Admin boxes are contracted and for some users it's a trouble, so if you want your admin boxes always expanded, very easy, go to catalog/admin/includes/boxes and edit all files. In each file just search (eg.- catalog.php file),



if ($selected_box == 'catalog') {




and replace with



// if ($selected_box == 'catalog')
{

If the column is very long and leaves of the screen, you can create a column_right.php file and place there the middle of boxes which were in column_left.php file, after this, edit all catalog/admin files and just above this text,

<!-- body_text_eof //-->

put the following code:

<td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="1" cellpadding="1" class="columnLeft">
<!-- left_navigation //-->
<?php require(DIR_WS_INCLUDES . 'column_right.php'); ?>
<!-- left_navigation_eof //-->
</table></td>

You can also make pulled-down only the boxes most frecuently used.

No file to download in this contribution.

That's all!

___________________________________________________


En español.



Cajas laterales del admin siempre visibles (desplegadas).

Las cajas del modo administrador estan contraidas y para muchos usuarios es incomodo, asi que si quiere que las cajas esten siempre expandidas, muy facil, dirijase a catalog/admin/includes/boxes y edite cada archivo. En cada uno busque lo siguiente (como ejemplo se toma el archivo catalgog.php),



if ($selected_box == 'catalog') {




y reemplacelo por



// if ($selected_box == 'catalog')
{

Si la columna es muy larga y se sale de pantalla, puede crear un archivo column_right.php y colocar ahi la mitad de las cajas que habia en column_left.php, despues editar todos los archivos de catalog/admin y justo arriba de donde pone,

<!-- body_text_eof //-->

colocar el siguiente codigo:

<td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="1" cellpadding="1" class="columnLeft">
<!-- left_navigation //-->
<?php require(DIR_WS_INCLUDES . 'column_right.php'); ?>
<!-- left_navigation_eof //-->
</table></td>

Tambien puede hacer expandidas las cajas que solo utilice mas a menudo.

No hay ningun archivo para descargar en esta contribucion.

¡Eso es todo!

Legend:  Download   Report
Expand All / Collapse All
Admin boxes always visible (pulled-down) trikinuke 22 Aug 2008  

Admin boxes always visible (pulled-down)



Admin boxes are contracted and for some users it's a trouble, so if you want your admin boxes always expanded, very easy, go to catalog/admin/includes/boxes and edit all files. In each file just search (eg.- catalog.php file),



if ($selected_box == 'catalog') {




and replace with



// if ($selected_box == 'catalog')
{

If the column is very long and leaves of the screen, you can create a column_right.php file and place there the middle of boxes which were in column_left.php file, after this, edit all catalog/admin files and just above this text,

<!-- body_text_eof //-->

put the following code:

<td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="1" cellpadding="1" class="columnLeft">
<!-- left_navigation //-->
<?php require(DIR_WS_INCLUDES . 'column_right.php'); ?>
<!-- left_navigation_eof //-->
</table></td>

You can also make pulled-down only the boxes most frecuently used.

No file to download in this contribution.

That's all!

___________________________________________________


En español.



Cajas laterales del admin siempre visibles (desplegadas).

Las cajas del modo administrador estan contraidas y para muchos usuarios es incomodo, asi que si quiere que las cajas esten siempre expandidas, muy facil, dirijase a catalog/admin/includes/boxes y edite cada archivo. En cada uno busque lo siguiente (como ejemplo se toma el archivo catalgog.php),



if ($selected_box == 'catalog') {




y reemplacelo por



// if ($selected_box == 'catalog')
{

Si la columna es muy larga y se sale de pantalla, puede crear un archivo column_right.php y colocar ahi la mitad de las cajas que habia en column_left.php, despues editar todos los archivos de catalog/admin y justo arriba de donde pone,

<!-- body_text_eof //-->

colocar el siguiente codigo:

<td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="1" cellpadding="1" class="columnLeft">
<!-- left_navigation //-->
<?php require(DIR_WS_INCLUDES . 'column_right.php'); ?>
<!-- left_navigation_eof //-->
</table></td>

Tambien puede hacer expandidas las cajas que solo utilice mas a menudo.

No hay ningun archivo para descargar en esta contribucion.

¡Eso es todo!