Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Simple Changes


JakeBottero

Recommended Posts

Posted

Because the general layout is actually just about what I need, I want only to "wrap" a "frame" around the default layout, that is: edges, a custom header that replaces everything at the top (logo, image buttons), and the footer. It seems like this should be straight forward. Yes?

Posted

yes...

to put a frame around the whole thing go to includes->application_top.php and add the begining of a table or div right at the end of the file. then close the tags in application_bottom.

 

to change your logo and top bit in inculdes->header.php

to change the footer in includes->footer.php

 

Hope this helps

 

Sam

Posted

Use This:

Dead Easy Center Thingy
by Marc Drake

This is called dead easy center for a reason... because it's dead easy!
This will create you a centered shop, compatible with 800x600 screen res and up and it will place a border around your site.

First open up your catalog/includes/header.php

At the top you will see something pretty much like

 <?php
   /*
   $Id: header.php,v 1.42 2003/06/10 18:20:38 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions
   http://www.oscommerce.com

   Copyright ? 2003 osCommerce

   Released under the GNU General Public License
   */

At line 12 or 13 you want to add the following:


 //begin dead easy outer table

   print ('<table width="790" border="0" align="center" cellpadding="0" cellspacing="2" bgcolor="#000000">
    
   <tr>
     <td bgcolor="#FFFFFF">');
    
 //end dead easy outer table

And that's it, job done!

To change the color of the border change the first number

Archived

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

×
×
  • Create New...