Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Internal/External Links


Guest

Recommended Posts

Posted

Can someone tell me why my links aren't pointing to the right place? The pages are in place and my code matches the working code osCommerce has.

 

My code on english.php

define('BOX_INFORMATION_LINKS', 'Links');

 

Their code on english.php

define('BOX_INFORMATION_PRIVACY', 'Privacy Notice');

 

My code on information.php

'<a href="' . tep_href_link(FILENAME_LINKS) . '">' . BOX_INFORMATION_LINKS . '</a><br>' .

 

Their code on information.php

'<a href="' . tep_href_link(FILENAME_PRIVACY) . '">' . BOX_INFORMATION_PRIVACY . '</a><br>' .

 

My code on filenames

define('FILENAME_LINKS', 'http://www.silkenstrand.com/links.htm');

to go to the root

 

or

 

define('FILENAME_LINKS', 'links.php'); to go to the catalog folder where their files are placed in

(yes, I saved and tested both types in both places to see if it was an extension error)

 

Their code on filenames

define('FILENAME_PRIVACY', 'privacy.php');

 

All of the code looks the same to me. The files are in the correct locations and spelled correctly, etc. I just can't figure out why it isn't working.

 

Thanks,

 

Tina

Posted

This would be easier if we knew to where the links were actually pointing. The code (other than the first FILENAME_LINKS code) seems to be correct, so I would expect that something else is causing the issue. However, I don't have any more data from which to guess.

 

Cheers,

Matt

Always back up before making changes.

Archived

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

×
×
  • Create New...