Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

COMPLETE NOOB


Marathon Computers

Recommended Posts

Posted
Hello,

i need help on editing the footer, and the text on the main page, i have created my own text but it doesnt show.

 

Have you taken a look at the Knowledge Base? There's a wealth of solid info in there.

 

http://www.oscommerce.info/

 

Iggy

Everything's funny but nothing's a joke...

Posted

yes i have but this is what my code is for the footer..

<?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
/*
 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
 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
 }
?>

Please HELP me

Posted

The place to put the text is in includes/languages/english.php

 

Scroll down to the bottom of the page and you'll find it.

 

Don't use the osCommerce File Manager, download the file, edit it in a plain text editor (NotePad not WordPad) and then upload again. Keep a backup copy of the original file.

 

Vger

  • 2 months later...
Posted
Hello,

i need help on editing the footer, and the text on the main page, i have created my own text but it doesnt show.

 

If you are running osCMAX (like my osCMAXv1.7), you may need to comment out the appropriate code in one of the /templates subdirectories. I was using the Fallback template in BTS, so after wasting time editing footer.php in the /include directory, I finally edited /templates/fallback/main_page.tpl.php file with successful results.

 

 

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

  

</td>

 

PAB

Archived

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

×
×
  • Create New...