Support Forums

Support Offline : Mon - Fri / 10am - 6pm (GMT +6)

Your Time: Our Time:

Login redirect issue since 3.7.0

Featured Lock Resolved Issue
I found a problem on several of your awesome templates.
If you have an "login area" and use the "redirect after login", then your templates need to be modified in case of a Joomla core change!

Here is my solution:

templates/doctor/html/com_users/login/default_login.php


find

<input type="hidden" name="return" value="<?php echo base64_encode($this->params->get('login_redirect_url', $this->form->getValue('return'))); ?>"/>


replace by (original core code)

<?php $return = $this->form->getValue('return', '', $this->params->get('login_redirect_url', $this->params->get('login_redirect_menuitem'))); ?>
<input type="hidden" name="return" value="<?php echo base64_encode($return); ?>"/>


Hope that will help some guys until templates are updated :-)

6 Answers

Paul Frankowski - Staff

More than a month ago #Permalink
Hi,
thanks a lot, I will send you tip our IT guys.

Nathanael A. de Lima

More than a month ago #Permalink
I found a problem on several of your awesome templates.
If you have an "login area" and use the "redirect after login", then your templates need to be modified in case of a Joomla core change!

Here is my solution:

templates/doctor/html/com_users/login/default_login.php


find

<input type="hidden" name="return" value="<?php echo base64_encode($this->params->get('login_redirect_url', $this->form->getValue('return'))); ?>"/>


replace by (original core code)

<?php $return = $this->form->getValue('return', '', $this->params->get('login_redirect_url', $this->params->get('login_redirect_menuitem'))); ?>
<input type="hidden" name="return" value="<?php echo base64_encode($return); ?>"/>


Hope that will help some guys until templates are updated :-)


Thanks, man!

Kawshar Ahmed - Senior Staff

More than a month ago #Permalink
Spot on, thanks for this...;)

[email protected]

More than a month ago #Permalink
Great!! It works perfectly

YogaWat

More than a month ago #Permalink
Thanks so much!!!


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Leaderboard (30 days)

Sifat

Sifat

Total Accepted Answers: 125
Paul Frankowski

Paul Frankowski

Total Accepted Answers: 117
Toufiq

Toufiq

Total Accepted Answers: 62
Pavel

Pavel

Total Accepted Answers: 5
Peter Atkin

Peter Atkin

Total Accepted Answers: 2

100+

Templates

200,000+

Community Users

Newsletter

Don’t miss any updates of our new templates and extensions and all the astonishing offers we bring for you.
We never spam

Joomla! ® name is used under a limited license from Open Source Matters in the United States and other countries. JoomShaper.com is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

Connect Us