Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Layout question


sacaccess

Recommended Posts

I have been working with OSC for about 2 days its my first attempt at such scripts... im not even that good with php since well this is my first attempt at all but im doing good sofar.. what my question is is how do i completely remove sidebars i have already modified the Download column_right.php file and put what i like from it into the left column now i have a pain gap on the right of my page.. i want the rest of the page to use that area.. heres my site... so you can seee...

 

www.lendonline.net

 

 

anyone able to help?

Link to comment
Share on other sites

I have been working with OSC for about 2 days its my first attempt at such scripts... im not even that good with php since well this is my first attempt at all but im doing good sofar.. what my question is is how do i completely remove sidebars i have already modified the Download column_right.php file and put what i like from it into the left column now i have a pain gap on the right of my page.. i want the rest of the page to use that area.. heres my site... so you can seee...

 

www.lendonline.net

anyone able to help?

 

I don't know the answer to your question, but you should know that by visiting the link you posted, your whole site directory is exposed....

We see our customers as invited guests to a party, and we are the hosts. It's our job every day to make every important aspect of the customer experience a little bit better. - Jeff Bezos

Link to comment
Share on other sites

Couple things... you need a default or index htm or html (depending on what your host requires) in your root. The link you gave shows all yer secrets :)

 

Next, looking at the html source of your shop/index.php, you've completely emptied the header. There is no breadcrumb trail, no logo, no Account/Cart/Checkout, and no way to get back to the main page. Nada.

 

??

 

jon

It's all just ones and zeros....

Link to comment
Share on other sites

To remove the left and right column completely these two bits of code need to be removed/commented out in all your OSC pages:

 

<td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">

<!-- left_navigation //-->

<?php require(DIR_WS_INCLUDES . 'column_left.php'); ?>

<!-- left_navigation_eof //-->

</table></td>

 

 

<td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">

<!-- right_navigation //-->

<?php require(DIR_WS_INCLUDES . 'column_right.php'); ?>

<!-- right_navigation_eof //-->

</table></td>

Link to comment
Share on other sites

To remove the left and right column completely these two bits of code need to be removed/commented out in all your OSC pages:

 

<td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">

<!-- left_navigation //-->

<?php require(DIR_WS_INCLUDES . 'column_left.php'); ?>

<!-- left_navigation_eof //-->

</table></td>

<td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">

<!-- right_navigation //-->

<?php require(DIR_WS_INCLUDES . 'column_right.php'); ?>

<!-- right_navigation_eof //-->

</table></td>

 

 

Thank you, ill try this... Yeah trust me this site will be pretty nice once its done.. im just playing around right now and im going to make sure that all my goodies are hidden...

Link to comment
Share on other sites

Couple things... you need a default or index htm or html (depending on what your host requires) in your root. The link you gave shows all yer secrets :)

 

Next, looking at the html source of your shop/index.php, you've completely emptied the header. There is no breadcrumb trail, no logo, no Account/Cart/Checkout, and no way to get back to the main page. Nada.

 

??

 

jon

 

 

Witch files in the OSC have this code in them?

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...