perpetual-burn Posted April 10, 2004 Posted April 10, 2004 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
OceanRanch Posted April 10, 2004 Posted April 10, 2004 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
perpetual-burn Posted April 10, 2004 Author Posted April 10, 2004 I tried that, didnt seem to work... perhaps if you do find the liens you can tell me, cuz Im no expert, thank you very much though :)
Guest Posted April 11, 2004 Posted April 11, 2004 Backup...Backup...Backup Try this: Dead Easy Center Thingyby 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
perpetual-burn Posted April 11, 2004 Author Posted April 11, 2004 So yea.. that solves q 1, but number 2 is still needed :D
Guest Posted April 11, 2004 Posted April 11, 2004 This contribution isn't too difficult. Backup...Backup...Backup Big Images Good Luck with it.
perpetual-burn Posted April 11, 2004 Author Posted April 11, 2004 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...
Guest Posted April 11, 2004 Posted April 11, 2004 ALTER TABLE `catalog`.`products` ADD `products_bimage` VARCHAR( 64 ) AFTER `products_image` Change `catalog` to `your database name` See if this helps.
perpetual-burn Posted April 11, 2004 Author Posted April 11, 2004 ray, you're a genius, thanks so much!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.