Welcome, Guest
Username Password: Remember me

Redirect back to restricted page after login
(1 viewing) (1) Guest
  • Page:
  • 1
  • 2

TOPIC: Redirect back to restricted page after login

Redirect back to restricted page after login 13 years, 3 months ago #4891

  • bmurphy
  • OFFLINE
  • Fresh Boarder
  • Posts: 11
  • Karma: 0
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

Re: Redirect back to restricted page after login 13 years, 3 months ago #4892

  • dryabov
  • OFFLINE
  • Administrator
  • Denis Ryabov, Lead Developer
  • Posts: 4867
  • Karma: 105
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)?

Re: Redirect back to restricted page after login 13 years, 3 months ago #4893

  • bmurphy
  • OFFLINE
  • Fresh Boarder
  • Posts: 11
  • Karma: 0
we are using 1.5. The site is vidons.com and the registered page is vidons.com/index.php?option=com_content&view=article&id=5:beta-washer-vidon&catid=1:electronics-a-computerselectronics&Itemid=14


Thanks for your help!

Re: Redirect back to restricted page after login 13 years, 3 months ago #4894

  • dryabov
  • OFFLINE
  • Administrator
  • Denis Ryabov, Lead Developer
  • Posts: 4867
  • Karma: 105
It's a bug in mobile_iphone template. The patch is here: github.com/mobilejoomla/mobilejoomla/commit/76f6a6777dd4fff7385dd45d0afdf00b978443ee

Re: Redirect back to restricted page after login 13 years, 3 months ago #4895

  • bmurphy
  • OFFLINE
  • Fresh Boarder
  • Posts: 11
  • Karma: 0
Well though you had it but still not working. redirect happens correctly on web, but redirects home page with joomla mobile. Any other suggestions?

Re: Redirect back to restricted page after login 13 years, 3 months ago #4896

  • bmurphy
  • OFFLINE
  • Fresh Boarder
  • Posts: 11
  • Karma: 0
Also let you know I tried this too $this->$return; but it broke the login page

Re: Redirect back to restricted page after login 13 years, 3 months ago #4898

  • dryabov
  • OFFLINE
  • Administrator
  • Denis Ryabov, Lead Developer
  • Posts: 4867
  • Karma: 105
You have missed " />" in the html source code. Check this line of template's code again.

Re: Redirect back to restricted page after login 13 years, 3 months ago #4912

  • bmurphy
  • OFFLINE
  • Fresh Boarder
  • Posts: 11
  • Karma: 0
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.

Re: Redirect back to restricted page after login 13 years, 3 months ago #4913

  • dryabov
  • OFFLINE
  • Administrator
  • Denis Ryabov, Lead Developer
  • Posts: 4867
  • Karma: 105
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?

Re: Redirect back to restricted page after login 13 years, 3 months ago #4914

  • bmurphy
  • OFFLINE
  • Fresh Boarder
  • Posts: 11
  • Karma: 0
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
  • Page:
  • 1
  • 2
Time to create page: 0.08 seconds

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.