+ Reply to Thread
Results 1 to 3 of 3

Thread: Footer copyright problem you should know about

  1. #1
    Junior Member DamienDarwick's Avatar
    Join Date
    Apr 2010
    Posts
    17
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default Footer copyright problem you should know about

    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:

    Code:
    ?>
    <?php
      if ($banner = tep_banner_exists('dynamic', '468x50')) {
    ?>
    And change to:

    Code:
    ?>
    <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.

  2. #2
    Developer Greystoke's Avatar
    Join Date
    Mar 2010
    Posts
    156
    Thanks
    2
    Thanked 13 Times in 12 Posts

    Default

    Hi,

    Thanks for pointing this bug out.

    Please change the code in the footer.php to:

    PHP Code:
    <?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>

  3. #3
    Junior Member DamienDarwick's Avatar
    Join Date
    Apr 2010
    Posts
    17
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    No prob.

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts