Forgot password - wrong redirection

06.02.2024 13:31
#1
heinzm
Joomshopping forum user no avatar
Name: heinz
11.02.2012
Posts: 86
Quote
Forgot password - wrong redirection

When a customer clicks on "Forgot password" on the shop's login page, he is redirected to the main page and nothing happens.
What can I do?
Thank you in advance!


Joomla: 5.0.2
JoomShopping: 5.3.0
PHP: 8.2.15
MySQL: 8.0.36
Website Url: www.juwelen-binder.at
 
06.02.2024 14:24
#2
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25965
Quote
Aw: Forgot password - wrong redirection

www.juwelen-binder.at not works for me

 
07.02.2024 17:11
#3
heinzm
Joomshopping forum user no avatar
Name: heinz
11.02.2012
Posts: 86
Quote
Aw: Forgot password - wrong redirection

Sorry - problem in index.php.
Now you can reach them.

 
07.02.2024 19:54
#4
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25965
Quote
Aw: Forgot password - wrong redirection

Need create item menu (example hideen)
Menu Item Type: Password Reset

Users / Password Reset
Aw: Forgot password - wrong redirection

 
08.02.2024 20:08
#5
heinzm
Joomshopping forum user no avatar
Name: heinz
11.02.2012
Posts: 86
Quote
Aw: Forgot password - wrong redirection

Again - thank you for the perfect help!

However, it would also be good if you could display "Forgotten user name" right next to "Forgot password". Unfortunately I have to display it via a menu entry.
What possibility is there to place/activate this function directly next to it?

 
08.02.2024 20:41
#6
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25965
Quote
Aw: Forgot password - wrong redirection

change your template page login

components\com_jshopping\templates\joomshopping_flex\user\login.php

row 70

<div class="control-group rowlostpassword mb-2">
<a href="<?php echo Route::_('index.php?option=com_users&view=remind'); ?>">
Forgot your username?
</a>
</div>

 
09.02.2024 14:13
#7
heinzm
Joomshopping forum user no avatar
Name: heinz
11.02.2012
Posts: 86
Quote
Aw: Forgot password - wrong redirection

Unfortunately code in row 70 doesn't work. An error page appears: "0 - Class "Route" not found".

 
09.02.2024 16:40
#8
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25965
Quote
Aw: Forgot password - wrong redirection

Add
use Joomla\CMS\Router\Route;

after
defined('_JEXEC') or die();

 
10.02.2024 15:13
#9
heinzm
Joomshopping forum user no avatar
Name: heinz
11.02.2012
Posts: 86
Quote
Aw: Forgot password - wrong redirection

Thanks for the help, but it's too complicated for me.
Maybe this point is an idea for the next template update.

 
10.02.2024 21:23
#10
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25965
Quote
Aw: Forgot password - wrong redirection

There will be no updates.

It's better not to use username.

configuration / Fields Registration

Disable: Username

Login =>
email: ...
password: ....

 
11.02.2024 17:35
#11
heinzm
Joomshopping forum user no avatar
Name: heinz
11.02.2012
Posts: 86
Quote
Aw: Forgot password - wrong redirection

OK - Thank you!

 


Copyrights MAXXmarketing GmbH. Alle Rechte vorbehalten
Durch die Nutzung dieser Website stimme ich zu, dass Cookies zur optimalen Gestaltung der Website sowie zur Analyse der Nutzung der Website verwendet werden. Weiterführende Informationen finden Sie hier. OK, einverstanden.