Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

oscommerce footer problem


dydez

Recommended Posts

hi im new to oscommerce i have put a image in the main text but now my footer bar has shifted over to the right on my home page every other page is ok

can any body help my site is www.lockerpad.com thanx

Link to comment
Share on other sites

define('TEXT_MAIN', '<table border="0" width="100%" cellspacing="10" cellpadding="2"><tr><td class="main2" valign="top">' . tep_image(DIR_WS_IMAGES . 'ps3banner.png') .'</td>'); this is the code i used for index_php can anyone tell me if there is a problem with it

Link to comment
Share on other sites

define('TEXT_MAIN', tep_image(DIR_WS_IMAGES . 'ps3banner.png') );

Try that instead.

 

Your code leaves an unclosed <tr> and <table>.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

thanx mate worked for me do you know how i can put a paypal image under the footer bar to the left of the page and a few adds in the left and right cols thanx

Link to comment
Share on other sites

how i can put a paypal image under the footer bar to the left of the page

In /includes/footer.php find THE FIRST <br> in the code and replace it with the code below:

 

<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><td align="left">
<img src="images/paypal_logos.jpg" alt="Payment" title=" Payment " border="0" height="119" width="286">
</td></tr>
</table>
<br>

You may want to change the image name and dimensions.

 

and a few adds in the left and right cols thanx

At the end of /includes/column_left.php or /includes/column_right.php AFTER THE CLOSING PHP TAG add your code like this:

 

<tr>
 <td align="center">
******** REPLACE THIS LINE WITH THE CODE FOR THE 1ST AD ********
 </td>
</tr>
<tr>
 <td align="center">
******** REPLACE THIS LINE WITH THE CODE FOR THE 2ND AD ********
 </td>
</tr>
<tr>
 <td align="center">
******** REPLACE THIS LINE WITH THE CODE FOR THE 3RD AD ********
 </td>
</tr>

So on, and so forth.

 

BACKUP ANY FILE BEFORE YOU EDIT IT.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...