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 94 Times in 17 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. The Following 5 Users Say Thank You to DamienDarwick For This Useful Post:

    ciojennacgalac (18-11-2012),hersamuchpeich (13-08-2013),itojessosaspos (10-10-2013),kescotekosek (21-06-2013),nbrregiordthor (27-11-2012)

  3. #2
    Developer Greystoke's Avatar
    Join Date
    Mar 2010
    Posts
    187
    Thanks
    2
    Thanked 499 Times in 113 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>

  4. The Following 5 Users Say Thank You to Greystoke For This Useful Post:

    ciojennacgalac (18-11-2012),hersamuchpeich (13-08-2013),itojessosaspos (10-10-2013),kescotekosek (21-06-2013),nbrregiordthor (27-11-2012)

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

    Default

    No prob.

  6. The Following 5 Users Say Thank You to DamienDarwick For This Useful Post:

    ciojennacgalac (18-11-2012),hersamuchpeich (13-08-2013),itojessosaspos (10-10-2013),kescotekosek (21-06-2013),nbrregiordthor (27-11-2012)

Posting Permissions

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