Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Easy - Not for me - My Links


chloe

Recommended Posts

Posted

Hi All:

 

What is the secret to make the links in the Main Text work? Mine read:

 

".......visit our <a

href="www.edpdlaw.com/index.html" target="_blank"><u>main site</u></a>

for ......."

 

but it does not go anywhere, just to the catalog page in my store, I am trying to direct to a page on the main site.

Please advise.

 

Thanks.

Posted

use the tep_href_link function

 

echo '<a href="' . tep_href_link(FILENAME_SPECIALS) . '">Specials</a>';

Posted
use the tep_href_link function

 

echo '<a href="' . tep_href_link(FILENAME_SPECIALS) . '">Specials</a>';

 

 

oh, I thought that deleting the bit "target="_blank" and editing the url to the proper page would do it? Wouldn't it?

 

Elaine

"There are only 10 types of people in this world: those who understand binary, and those who don't. "

Posted

the target blank you could add and would open a new window but wihout the tep_href_link you lose sessions and makes the cart unusable, unless you want to point to an external site of course.

Posted
the target blank you could add and would open a new window but wihout the tep_href_link you lose sessions and makes the cart unusable, unless you want to point to an external site of course.

 

 

ah, that makes sense. See, just to prove to myself one more time that I know nothing about this dynamic site thingy. :)

 

thanks for explaining.

 

Elaine

"There are only 10 types of people in this world: those who understand binary, and those who don't. "

Posted
ah, that makes sense. See, just to prove to myself one more time that I know nothing about this dynamic site thingy. :)

 

thanks for explaining.

 

Elaine

 

 

Thank your for the response, but is there more to it than that? Do I have to define the (FILENAME_SPECIALS) somewhere? Please be patient with me, I am blonde.

Posted

FILENAME_SPECIALS is already defined. It represents the .php script filename.

Archived

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

×
×
  • Create New...