Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Banner Display Problem


Guest

Recommended Posts

Hi when i first installed oscommerce i had the oscommerce banner on the botom of the page but for some reason since i customised the shop i have lost the banner i still have all the properties in the admin panal but the banner does not display have i deleted the code that displays the banner on the default page when i was adding images to the bottom of the page ?

 

I think i have deleted some code somewhere does anyone know where and what i need to add back in :-)

 

Many thanks

Link to comment
Share on other sites

Ive found the file where its supposed to be includes/footer.php but i think i have actually deleted the code of where its supposed to be does anyone know what the code is for the banner that i need to put back in ?

 

 

Cheers

Link to comment
Share on other sites

This is the part about the banner in catalog/includes/footer.php

<?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

 }

 

HTH

The_Bear

Link to comment
Share on other sites

Hi ive tried putting the code in but its not for having it i keep getting errors (Im a Novice at PHP) :-)

 

 

<?php

/*

 $Id: footer.php,v 1.25 2002/10/29 22:51:48 hpdl Exp $



 osCommerce, Open Source E-Commerce Solutions

 http://www.oscommerce.com



 Copyright (c) 2001 osCommerce



 Released under the GNU General Public License

*/



 require(DIR_WS_INCLUDES . 'counter.php');

?>

<table border="0" width="100%" cellspacing="0" cellpadding="1">

 <tr class="footer">

   <td class="footer">  <?php echo strftime(DATE_FORMAT_LONG); ?>  </td>

   <td align="right" class="footer">  <?php echo $counter_now . ' ' . FOOTER_TEXT_REQUESTS_SINCE . ' ' . $counter_startdate_formatted; ?>  </td>

 </tr>

</table>

<div align="center"><a href="http://www.mediaflex.co.uk"><img src="mediaflex.gif" width="180" height="57" border="0"></a><br>

 Copyright 2003 Got2haveit.net</div>

<table border="0" width="100%" cellspacing="0" cellpadding="0">

 <tr>

   <td align="center" class="smallText">

<?php

/*

 The following copyright announcement can only be

 appropriately modified or removed if the layout of

 the site theme has been modified to distinguish

 itself from the default osCommerce-copyrighted

 theme.



 For more information please read the following

 Frequently Asked Questions entry on the osCommerce

 support site:



 http://www.oscommerce.com/community.php/faq,26/q,50



 Please leave this comment intact together with the

 following copyright announcement.

*/



?>

   </td>

 </tr>

</table>

<?php

 if ($banner = tep_banner_exists('dynamic', '468x50')) {

?>

<div align="center"><br>

</div>

<table border="0" width="100%" cellspacing="0" cellpadding="0">

 <tr>

   <td align="center"> </td>

 </tr>

</table>

<?php

 }

?>

<div align="center"></div>

[/code]

Can anyone advise where im supposed to put the code :-)

Link to comment
Share on other sites

Hi,

 

Yea the banner is all enabled and ready to go it seems to be all set up and ready but it just doesnt display ?

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...