Aprilrobin Posted April 9, 2007 Share Posted April 9, 2007 (edited) Need desperate Help with making a Php link to a catalog page. I know you guys tried to help me with this last week and I thank you again, but I had no idea about "session Ids". Agh to php! Here is where I'm confused. I just want to make a text link to a categroy page from my index page.... regular old text link, but I do not want to lose my session ID. I see instruction of how to do this for stuff like "checkout pages" but I do not understand how to do it with the cpath. As of now I have it linked with just the cpath and it links to "http://localhost/catalog/index.php?cPath=21" It works in general - gets me to the page, but now I know In order to not lose my session id i would need to link it simialr to this checkout example below: <?php echo '<a href="' . tep_href_link(FILENAME_CHECKOUT) . '">' . 'CHECKOUT' . '</a>'; ?> Or like this: <a href="<?php echo tep_href_link(FILENAME_CHECKOUT, '', 'SSL'); ?>" class="links"><?php echo HEADER_TITLE_CHECKOUT; ?></a> upon searching the forms I gather that I need to use the category "cpath" but I had tried it a few different ways and just keep getting an error page. Could anyone plase possibly explain to me using the category I posted above? This would shed a TON of light for me! Thank you! April Edited April 9, 2007 by Aprilrobin Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.