Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How do you create a link


jamescells

Recommended Posts

Hi There

 

Yeah ive created my own custom menu but i did it in fireworks and dreamweaver. IT doesnt draw the links from the database, the links are hard coded. for example ill link to a section with this link but as soon as it loads the page it logs me out.(the cart shows 0 contents), heres an example of some of the links :

 

<?=tep_href_link('index.php?cPath=85_91')?>

 

Kind Regards, :blush:

Link to comment
Share on other sites

it would look like:

<?php echo tep_href_link(FILENAME_DEFAULT, $cPath_new); ?>

 

so your example it would be

<?php echo tep_href_link(FILENAME_DEFAULT, cPath=85_91); ?>

 

that would give you a link that looked like

mydomain.com/index.php?cPath=85_91

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...