fan4chevy Posted May 12, 2003 Posted May 12, 2003 I would like to add my own footer and footer links such as contact, anyone know where to go and how to do this? THanks again, Charles
Cerberus Posted May 12, 2003 Posted May 12, 2003 The current footer is in includes/footer.php I guess you would change this to add your own bits.
whpromo Posted May 19, 2003 Posted May 19, 2003 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"> <tr> <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> </div> </td> </tr> <tr> <td bgcolor="#FFFFFF"> <div align="center"> <p><br> <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> --> </div> </td> </tr> </table><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. Regards, Dan W
Recommended Posts
Archived
This topic is now archived and is closed to further replies.