Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Footer text help


account1000

Recommended Posts

could anyone from this forum help me out......................I need to add some text to the footer. The error are the bold with underline. t seems that cannot display clearly

 

Thanks advance

 

willliam tang

 

<?php
/*
 $Id: footer.php,v 1.26 2003/02/10 22:30:54 hpdl Exp $

 osCommerce, Open Source E-Commerce Solutions
 [url="http://www.oscommerce.com"]http://www.oscommerce.com[/url]

 Copyright © 2003 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">

 </tr>
</table>
<br>
<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:

 [url="http://www.oscommerce.com/community.php/faq,26/q,50"]http://www.oscommerce.com/community.php/faq,26/q,50[/url]

 Please leave this comment intact together with the
 following copyright announcement.
*/
[b]echo 'COPYRIGHT 2007@FIRSTOUCH IT SOLUTIONS. ALL RIGHT RESERVED.'[/b][u][/u]      </td>
 </tr>
</table>
</div>

Link to comment
Share on other sites

Wrong page, go to includes/languages/english

 

Bottom fo the page

 

look for this part

 

define('FOOTER_TEXT_BODY', 'This Site Owned <br>& Operated<br>By Gateway Sites<br>Copyright © 2003 <br>AmericanAfghans.com');

 

underline is <u> and </u>

 

Ralph

Link to comment
Share on other sites

Hi pal, the words still cannot appear to the footer, issit the footer.php need to to something like echo 'COPYRIGHT 2007@FIRSTOUCH IT SOLUTIONS. ALL RIGHT RESERVED.' can i have the footer.php script from you

Link to comment
Share on other sites

You can modify your footer by adding html to the html sections of your footer. It looks like you have removed part of the php tags and that is why you are getting errors.

 <?php
/*
 $Id: footer.php,v 1.26 2003/02/10 22:30:54 hpdl Exp $

 osCommerce, Open Source E-Commerce Solutions
 http://www.oscommerce.com

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

 

Find this code:

 

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

<tr>

<td align="center" class="smallText"><?php echo FOOTER_TEXT_BODY; ?></td>

</tr>

</table>

 

And change to this code:

 

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

<tr>

<td align="center" class="smallText">I have new footer text here<br>

and here!</td>

</tr>

</table>

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...