Redirect back to restricted page after login

bmurphy
14 years, 5 months ago
Hi-

I've tried a number of solutions, but nothing works. Our mobile page is access via an QR Reader application that sends visitor to restricted (registered) page. We want the user to be prompted to login or register and then redirected back to restricted page.

Does your template overright Joomla's redirect rules? Any suggestions would be welcome
dryabov
14 years, 5 months ago
MobileJoomla doesn't affect Joomla's login procedure.

What Joomla version do you use?
And what is url of that page (hope it's not a secret)?
bmurphy
14 years, 5 months ago
Well though you had it but still not working. redirect happens correctly on web, but redirects home page with joomla mobile. Any other suggestions?
bmurphy
14 years, 5 months ago
Also let you know I tried this too $this->$return; but it broke the login page
dryabov
14 years, 5 months ago
You have missed " />" in the html source code. Check this line of template's code again.
bmurphy
14 years, 5 months ago
Your right I dropped the "/>" however, putting it back in does not help. I've tried both $this->$return and $this->return and no success.

Any other suggestions.
dryabov
14 years, 5 months ago
Strange behaviour. On iphone template redirect field is empty, and on pda template it correspond to redirect to /favicon.ico (!!!).
What 3rd-party extensions do you use (that may affect log in)?
Could you send me ftp credentials to debug this redirect?
bmurphy
14 years, 5 months ago
On the web side, everything works great. On the mobile page, I get a page that says "Registration Area" Welcome to the registered user ...." If I use a login redirect, it only takes me to the home page.

Happy to send you my credentials, can you send me your email
1

By continuing to use this site you consent to the use of cookies on your device as described in our cookie policy unless you have disabled them. This site will not function correctly without cookies.

I accept cookies from this site.