Wild.Willy Posted April 8, 2003 Share Posted April 8, 2003 Can some one help me with the linking syntax for the following: I would like to make a link from an image on default.php pointing to a specific catagory. Something like - <?php echo tep_href_link(CATAGORY_NAME_HERE,'', 'NONSSL'); ?><image></a> I tried <a href="http://localhost/lp/catalog/default.php?cPath=8"> but I loose the session id. Thanks Willy Link to comment Share on other sites More sharing options...
Guest Posted April 8, 2003 Share Posted April 8, 2003 Hi, Maybe this will help. http://wiki.oscommerce.com/helpHowtoLinkLogo Where is your image on the default page? If it's in the body then you would just link it like any html....same with the header. Link to comment Share on other sites More sharing options...
Wild.Willy Posted April 8, 2003 Author Share Posted April 8, 2003 The image is in the body of default.php. It seams when I hardcode an html link the session id changes, if someone has been surfing around and then returns to default.php and clicks on a hard coded link. I guess I am trying to figure out how to do something like this; <?php echo tep_href_link(FILENAME_DEFAULT, $cPath =8,'', 'NONSSL'); ?><image></a> I understand how to difine a filename and then link to it, just not a specific product catagory. Thanks again for your help Willy Link to comment Share on other sites More sharing options...
mjh Posted April 16, 2003 Share Posted April 16, 2003 WW, <?php echo tep_href_link(FILENAME_DEFAULT, $cPath =8,'', 'NONSSL'); ?><image></a> Try this..It works in my store: <a href="<?php echo tep_href_link(FILENAME_DEFAULT, 'cPath=8', 'NONSSL'); ?>">test</a> mjh Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.