Page 1 of 1

send data to internal pages

Posted: Mon Apr 02, 2007 9:26 am
by kazkas
I have a problem (as always  ::) ):
I want to sent some data to internal page. Normally I use GET method and use data like index.php?id=10. Everything worked fine until I send people to public pages, but now I need to send users to internal pages, where only registered users can access. And results are 2:
  • if user is already signed in, then page is shown without any problems.
  • if user is not sign in, message about signing in appears with FrontEndUsers log in form. But after logging in FEUsers open the same page _without_ _GET parameters, so I'm loosing the data I'm sending people for.
Any suggestions about this issue? :-\

Re: send data to internal pages

Posted: Mon Apr 02, 2007 9:46 am
by cyberman
Hmm, FEU has a parameter returnto="page" after login - have you tried to use that?

Re: send data to internal pages

Posted: Mon Apr 02, 2007 10:21 am
by kazkas
I've tried. The only way to do it using a "returnto" parameter is to do aditional templates for all pages that uses _GET parameters, which will be not a wise solution. And do {php} {/php} stuff, which I don't like in templates.