View Single Post
  #10  
Old 07-16-2005, 09:25 AM
 
whsu716 whsu716 is offline
 

Senior Member
  
Join Date: Jun 2005
Posts: 168
 

Default

Quote:
Originally Posted by Jon
Not everyone has javascript enabled through, and some browsers don't process the javascript history back buttons.

One sure way to do this, is to edit your register links to include the current page. So if they are on home.php?cat=2 the register link would become register.php?return=home.php?cat=2

Then in your register.php you grab the return variable, secure it, pass it to smarty, and embed it in your register.tpl form. So that the return variable will be posted with the registration information. Then on a successful register you do a func_header_location("$return");
\


This is what I'd like to do - Do you have code for this by any chance?
Where do I get the register links?

how do I secure the variable and pass it?

Thanks!!! (nooob)
__________________
...
v 4.0.18; 4.1
Reply With Quote