Log in

View Full Version : Footer copyright problem you should know about



DamienDarwick
10-08-2010, 15:28
If you delete the banner in your cart admin are it deletes the entire thing including the footer links for your site. I personally am not going to use the banner system that is built in and probably quite a bit of others will not use it either. I had to add your link manually into my footer so that your link was still there since I have not purchased any brand free option. Here is what I had to do to add the same info that you had for the links...

open packages/shop/includes/footer.php

FIND:


?>
<?php
if ($banner = tep_banner_exists('dynamic', '468x50')) {
?>

And change to:


?>
<br>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td align="center" class="smallText"><a href="http://www.itvault.com"> vB Osc Shopping Cart Pro v1.0.6 </a> Copyright &copy; 2010 ITVault Solutions (<a href="http://www.oscommerce.com">osCommerce 2.2</a> Integrated)</td>
</tr>
</table>
<?php
if ($banner = tep_banner_exists('dynamic', '468x50')) {
?>

That adds the footer links back into the script. you guys might want to set this where it cannot be removed just by deleting the banner.

Greystoke
10-08-2010, 15:53
Hi,

Thanks for pointing this bug out.

Please change the code in the footer.php to:


<?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
}
?>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td align="center" class="smallText"><br /><?php echo FOOTER_TEXT_BODY; ?></td>
</tr>
</table>

DamienDarwick
11-08-2010, 16:13
No prob. :)