Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

2 questions..


perpetual-burn

Recommended Posts

Posted

I would really like help on the following:

 

1) my site http://www.anime-industry.com/catalog/index.php I would like to put a thing but viewable border enclosing the whole site from header to footer so it's not just blank 'floating' space and loks unstructured

 

2) I know there are some contributions, but they are way to complicated, I just need a simple mod than allows me to specify location for a big file and for the thmbnil file as seperate images.

 

Thanks you very much in advance,

 

-Phil

Posted

Back it all up first and see if this might work for you....

 

Add a new <table> at the beginning of catalog/includes/header.php with the appropriate border="2" or whatever.

 

<table border="2">

<tr><td>

 

Then at the end the table row at the bottom of catalog/includes/footer.php

 

</td></tr>

</table>

 

 

Sorry I don't have the exact line numbers and code to insert but you get the general picture. This should rap an empty table with borders around your entire site.

 

Hey, if it doesn't work maybe someone else has another solution for you.

 

Tom

Posted

Backup...Backup...Backup

Try 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

Posted

This contribution isn't too difficult.

Backup...Backup...Backup

Big Images

Good Luck with it.

Posted

Hmm.. trying to install that file but when I try to run the query I get this error:

 

Error

 

SQL-query :

 

ALTER TABLE `catalog`.`products` ADD `products_bimage` VARCHAR( 64 ) AFTER `products_image`

 

MySQL said:

 

 

#1142 - alter command denied to user: 'user@localhost' for table 'products'

 

 

 

I dont know why...

Posted
ALTER TABLE `catalog`.`products` ADD `products_bimage` VARCHAR( 64 ) AFTER `products_image`

Change `catalog` to `your database name`

See if this helps.

Archived

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

×
×
  • Create New...