smart Posted December 21, 2004 Posted December 21, 2004 I have text after the login e.g. Welcome back Name! Would you like to see which new products are available to purchase? Then more text - saying Purchase from us XXX - Link To and Link To these link go to a Catalogue link. But when they go I loose the session. And index.php?cPath=21&osCsid The client has to log in again Can this be done? Here is where I need the link. define('TEXT_GREETING_PERSONAL', 'Welcome back <span class="greetUser">%s!</span> Would you like to see which <a href="%s"><u>new products</u></a> are available to purchase?<BR> Purchase from Us - <a href="index.php?cPath=21&osCsid"><u>Link One</u></a> range and from the <a href="index.php?cPath=22&osCsid"><u>Link Two</u></a> range .</a>'); ? Thanks
boxtel Posted December 21, 2004 Posted December 21, 2004 I have text after the login e.g. Welcome back Name! Would you like to see which new products are available to purchase? Then more text - saying Purchase from us XXX - Link To and Link To these link go to a Catalogue link. But when they go I loose the session. And index.php?cPath=21&osCsid The client has to log in again Can this be done? Here is where I need the link. define('TEXT_GREETING_PERSONAL', 'Welcome back <span class="greetUser">%s!</span> Would you like to see which <a href="%s"><u>new products</u></a> are available to purchase?<BR> Purchase from Us - <a href="index.php?cPath=21&osCsid"><u>Link One</u></a> range and from the <a href="index.php?cPath=22&osCsid"><u>Link Two</u></a> range .</a>'); Thanks <{POST_SNAPBACK}> use the normal function tep_href_link() to make links and the session will remain. Treasurer MFC
smart Posted December 21, 2004 Author Posted December 21, 2004 use the normal function tep_href_link()to make links and the session will remain. <{POST_SNAPBACK}> SO HOW IS THIS DONE? THANKS
boxtel Posted December 21, 2004 Posted December 21, 2004 SO HOW IS THIS DONE? THANKS <{POST_SNAPBACK}> there are numerous examples of this in the code : <?php echo '<a href="' . tep_href_link(FILENAME_PRICE_LIST) . '" class="menuBoxContentLink">' . BOX_INFORMATION_PRICE_LIST . ' </a>' ; ?> Treasurer MFC
smart Posted December 21, 2004 Author Posted December 21, 2004 Thanks But will not work in these Code define('TEXT_GREETING_PERSONAL', 'Welcome back <span class="greetUser">%s!</span> Would you like to see which <a href="%s"><u>new products</u></a> are available to purchase?<BR> Purchase from Us - <a href="index.php?cPath=21&osCsid"><u>Link One</u></a> range and from the <a href="index.php?cPath=22&osCsid"><u>Link Two</u></a> range .</a>'); were would I put it? <?php echo '<a href="' . tep_href_link(FILENAME_PRICE_LIST) . '" class="menuBoxContentLink">' . BOX_INFORMATION_PRICE_LIST . ' </a>' ; ?> Thanks
Recommended Posts
Archived
This topic is now archived and is closed to further replies.