Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

putting 'powered by oscommerce' back in


ryana2

Recommended Posts

Posted

HI All

Need to put this back in the footer and i don't know how!! Can anyone point me inthe right direction?? (want to submit the site for feedback)

 

Thanks

Posted

Try editing your includes/footer.php file by adding the following code

<p align="center">Powered By: <a href="http://www.oscommerce.com" target="_blank">osCommerce</a></p>

Andrew Yuen

osCommerce, Community Team

Posted
HI All

Need to put this back in the footer and i don't know how!! Can anyone point me inthe right direction?? (want to submit the site for feedback)

 

Thanks

 

Edit the includes/footer.php and insert the following in line 37 between the <td></td> tags. (Could also be another line number, depending on your installation).

 

Powered by <a href="http://www.oscommerce.com" target="_blank">osCommerce</a>

Posted

Hi,

I've tried the following two options and I can't seem to get it to work!!

 

My footer.php has the following code:

 

<?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 © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

 

?>

<table border="0" width="900" cellspacing="0" cellpadding="1" align="center">

<tr class="footer">

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

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

</tr>

</table><br>

<table border="0" width="900" cellspacing="0" cellpadding="0" align="center">

<tr>

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

<?php

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

?>

</td>

</tr>

</table><br>

<table border="0" width="900" cellspacing="0" cellpadding="0" align="center">

<tr>

<td align="center" class="smallText"><?php echo tep_display_banner('static', $banner); ?>

<p>

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

*/

 

echo FOOTER_TEXT_BODY

?>

 

</td>

</tr>

 

</table>

 

<?php

}

?>

 

 

 

Any ideas?

 

Thanks

Posted

The file you need is includes/languages/english.php, last line

 

define('FOOTER_TEXT_BODY', 'Copyright © ' . date('Y') . ' <a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . STORE_NAME . '</a><br>Powered by <a href="http://www.oscommerce.com" target="_blank">osCommerce</a>');
?>

 

Adjust to suit :)

 

jon

It's all just ones and zeros....

Archived

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

×
×
  • Create New...