Login block doesn't display link to account page
Hello,
The login block is missing some elements :
When we are login, we haven't a link to go to our account page.

And it's impossible to translate the "logout" word.
-
Hi Théophile,
By including a redirect URL in your Login element, you can redirect users to the 'My Account' page. Select Custom URL from the Link icon and enter the URL for the My Account page after clicking the Login button.

You are right; the 'Logout' string does not translate to the designated site language. We will add this string to our list of translations.
0 -
Hello KC George !
Thanks for your answer. But it's not what I want :

As you can see, when you are logged, it's not the login form that appear, but the proposition to log out. And it's fine. But it will be better if we can be able to bo to our account directly here too. Because I don't want to redirect my customer to their account page, but only give us the possibility to go there if they want.
Something like this above. With customization of the account page link.
It's really simple. Currently, I must add my own code to do that :
<?php
if(is_user_logged_in()){
echo '<a href="https://www.mywebsite.com/account/">My account</a>';
}
?>And I wanted to say too : It's impossible to translate "logout", but we can translate "forgot you password ?" or "Register", ... Can you please add this feature to "logout" too ?
Thanks
0 -
Hi Théophile,
The solution you have suggested above would be the best in your case.
I have made a request to add the Logout string to the list of translations.
0
Please sign in to leave a comment.
Comments
3 comments