Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

How to put in my own footer


Recommended Posts

Actually, you will probably want to change the footer text in the <language>.php files under includes/languages. Example: english.php


Toward the end of each of the language files is call to

define('FOOTER_TEXT_BODY', 'some text in here');


For each of the language files, place your footer text in this area. In good conscience, you should leave the osCommerce copyright in there too.


Here is an example of what I've used on a site:

define('FOOTER_TEXT_BODY', '<table width="750" border="0" cellspacing="0" cellpadding="0">


   <td bgcolor="#FFFFFF"> 

     <div align="center"> 

<!--        <p> </p> -->

       <p><font size="2"><a href="../catalog/default.php">Catalog</a> | <a href="../sharpen.html">Sharpening</a> 

         | <a href="../faq.html">Shear Facts</a> | <a href="../about.html">About 

         Us</a> | <a href="../newsletter.html#newsletter">Newsletter</a> | <a href="../default.html">Home</a></font></p>





   <td bgcolor="#FFFFFF"> 

     <div align="center"> 


         <font face="Arial, Helvetica, sans-serif" size="3">Copyright © 

         2003 Colorado Rapid Edge</font><br>

         <font face="Arial, Helvetica, sans-serif" size="2">155 Colorado Avenue 

         Montrose, Co. 81401<br>

         Phone 1-866-720-2324 Fax (970) 240-4869</font> </p>

       <p><font face="Arial, Helvetica, sans-serif" size="1">Site Developed by</font><font face="Arial, Helvetica, sans-serif" size="2"> 

         <a href="http://www.ewebheads.com">eWebHeads</a></font></p>

<!--  <img src="../catalog/images/spacer.gif" width="1" height="1" vspace="1"> <br> -->





Code and Design Copyright © 2003 <a href="http://www.oscommerce.com" target="_blank">osCommerce</a><br>Powered by <a href="http://www.oscommerce.com" target="_blank">osCommerce</a> ');

As you can see, you can do quite a bit of formatting within that text area. You may also want to play around a bit with the formatting in the footer.php file found in the includes directory. I know I did. The pertinent code in this file starts right after the "require DIR_WS_INCLUDES . 'counter.php'); ?>" statement.


One other suggestion I found in the forums that helped immensely with formatting changes like this was to use a one pixel border on the table or table rows while making changes. After you get what you want, its easy to set the border to zero.



Dan W

Link to comment
Share on other sites


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

  • Create New...