Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adding links to the Info Box


Guest

Recommended Posts

Posted

Hello,

I tried adding a link in the info box to my own site as Im installing this cart on someone elses site. With the help of Arcadiauk who kindly sent me a tutorial this is what I did...

 

 

In includes/filenames.php I added:

 

  define('FILENAME_WEB_DESIGN', 'http://www.mysite.com/design.htm');

 

Then in catalog/includes/boxes/information.php I added this:

 

'<a href="' . tep_href_link(FILENAME_WEB_DESIGN) . '">' . BOX_INFORMATION_WEB_DESIGN . '</a>');

 

Then in catalog/includes/languages/english.php I added the following after this heading:

// information box text in includes/boxes/information.php

 

define('BOX_INFORMATION_WEB_DESIGN', 'gwuk Design');

 

 

Now the problem....

 

When on the catalog pages, and I click on the link that has been created it is looking for this page:

 

http://www.hissite.com/catalog/http://www....a2eb58cdf173b6c

 

Does anyone know what the solution is? Maybe I need to place something else rather than my URL within the filenames.php file to define it needs to look externally, rather than in the current site.....any help would be most appreciated :rolleyes:

Posted

The link isnt working for me :huh:

Do you by anychance know what I need to do to fix the problem?

Archived

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

×
×
  • Create New...