Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to add footer link in osCommerce?


rebeltwins

Recommended Posts

Posted

I like to know how to put a hyperlink in the footer because my hosting company wants it to be there so that I will not break the terms of condition for my website.

Posted
I like to know how to put a hyperlink in the footer because my hosting company wants it to be there so that I will not break the terms of condition for my website.

 

You can add a link by modify the footer.php on /includes/

 

Bye.

Posted

Make backup copies of *catalog*/includes/footer.php and *catalog*/includes/languages/english.php because you'll be making changes to them.

 

Open *catalog*/includes/languages/english.php and add a line like this, but put your link in it instead of the example:

define('FOOTER_LINK', '<br /><a href="http://www.example_url.com.com" target="_blank">Example URL</a><br /><br />');

 

Remember if you use an apostrophe make sure it looks like this \' as in Let\'s.

 

 

Open *catalog*/includes/footer.php and find:

echo FOOTER_TEXT_BODY

 

Add this line above:

echo FOOTER_LINK;

 

Save them both on to your server.

 

It is similar to the osCommerce copywrite info.

 

Danny

If I'm giving advice, it is based on what path I would take to fix your problem. My path may be wrong.

Archived

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

×
×
  • Create New...