I think in com_users there should be a link to the profile view from the edit profile view. I want to add it but I don't know if there is any reason why the link shouldn't be there. Can anyone help, please?
(I am working at Enhance Users GSoC project)
Labels |
Added:
?
|
Category | ⇒ | com_users Feature Request |
Status | New | ⇒ | Discussion |
Why would you want to? What is the use case for wanting this?
If you look at any "edit" page we dont have this ability
You don't have it, but in Articles for example, if you edit an article and click "Save" or "Cancel" it takes you to the article, in profile view these actions take you to the same edit profile view. So in order to be able to get to the profile view, you have to add a menu item.
ah - now i understand you. I think i have seen a bug report about this in the past requesting that the save button redirected to a view of the profile - just like editing contacts or articles
The problem is that while very many sites need a user to be able to edit their profile - for example to change their password or to agree to some new terms and conditions very few sites have a need to display a profile.
So in conclusion if a site wants to display a user profile then they would have created a menu item for it.
I guess what you could do is see if it is possible to detect if there is a published profile menu item and then redirect to that when you save but I don't see the benefit of a general redirection myself
Duplicate #20485.
This is a routing issue. It's one view with different layouts but layouts aren't taken into account when routing. With old routing this could have been fixed in UsersHelperRoute::getProfileRoute()
but it's deprecated and not used now. Not sure how this works with new routing. @Hackwar?
@SharkyKZ, I know there is a routing issue, I am currently trying to fix the router. I managed to make it see the layouts, but the link doesn't look how it should.
For example, I have a menu item for "Password reset" that when you are logged in redirects to the edit profile. The link that is displayed is index.php/password-reset?view=profile&layout=edit
where password-reset is the menu item. I think there is something that I don't understand.
Can anyone help me, please? Or is there any good documentation for the new router? (every piece of documentation I found gives as example the com_content router and I think this one is a bit different)
@Hackwar can you please help @alexandraciobica?
Labels |
Added:
J4 Issue
|
Status | Discussion | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-07-20 03:52:51 |
Closed_By | ⇒ | franz-wohlkoenig |
Closed_By | franz-wohlkoenig | ⇒ | joomla-cms-bot |
Set to "closed" on behalf of @franz-wohlkoenig by The JTracker Application at issues.joomla.org/joomla-cms/20958
I am not sure I understand what you mean. Are you talking about front end or admin.