Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

move the banner from footer to define TEXT_MAIN


nickburrett

Recommended Posts

The banner code is in catalog/includes/footer.php. Grab that code, and put it where you want it. You'll most likely want it in the catalog/index.php, or in the catalog/includes/languages/english/index.php. Depends on how you want to work it.

 

-jared

Link to comment
Share on other sites

The banner code is in catalog/includes/footer.php.  Grab that code, and put it where you want it.  You'll most likely want it in the catalog/index.php, or in the catalog/includes/languages/english/index.php.  Depends on how you want to work it.

 

-jared

 

i tried that, but i keep getting errors

Link to comment
Share on other sites

You're missing part of it. The whole section should be:

<?php
 if ($banner = tep_banner_exists('dynamic', '468x50')) {
?>
<br>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
 <tr>
   <td align="center"><?php echo tep_display_banner('static', $banner); ?></td>
 </tr>
</table>
<?php
 }
?>

 

One clue should be that in the line you posted, you only had a { with no corresponding } to close out the if statement.

 

-jared

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...