? ? Pending

User tests: Successful: Unsuccessful:

avatar cpfeifer
cpfeifer
29 Apr 2016

Pull Request for Issue #
No Issue reported, suggested through JUX user research.

Summary of Changes

Currently there are no options to hide the username and password reminder on the front end. File override is the only option. Two respective buttons have been added to the mod_login admin, with 4 new language strings respectively, and 2 conditionals in default.php to show or hide these two links.

Testing Instructions

Go to a login module, the two new controls are at the bottom of the basic params screen. They are turned on by default as normal, hide the items and check the front end.

mod_login-pr

avatar cpfeifer cpfeifer - open - 29 Apr 2016
avatar cpfeifer cpfeifer - change - 29 Apr 2016
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 29 Apr 2016
Labels Added: ? ?
avatar cpfeifer cpfeifer - change - 29 Apr 2016
The description was changed
avatar cpfeifer cpfeifer - change - 29 Apr 2016
The description was changed
avatar brianteeman
brianteeman - comment - 29 Apr 2016

Please update to Username not User Name. It looks wrong to use both

avatar andrepereiradasilva
andrepereiradasilva - comment - 29 Apr 2016

For consistency, also needs a similiar change in com_users frontend login view

In https://github.com/joomla/joomla-cms/blob/staging/components/com_users/views/login/tmpl/default_login.php#L89-L96

Update: Forget it, i see you're only changing the login module options.

avatar cpfeifer
cpfeifer - comment - 29 Apr 2016

Thank you for the comments, this is my first PR :) I'll clean this up tomorrow.

This is a cosmetic change, meant to simply hide or show these options on the front end, not disable the functionality. A number of users, including myself, have noted that the only reason they ever need to override this view file is to remove these lines of code. It's not always desirable to have these options displayed and I think it makes sense to provide a way to let people choose for themselves what is shown.

avatar SharkyKZ
SharkyKZ - comment - 29 Apr 2016

Perhaps also add an option to hide registration for consistency? Currently registration is hidden only when registration is disabled globally.

avatar brianteeman brianteeman - change - 29 Apr 2016
Labels
avatar brianteeman brianteeman - change - 29 Apr 2016
Category Language & Strings Templates (site) UI/UX
avatar brianteeman
brianteeman - comment - 29 Apr 2016

@SharkyKZ you can already do that by disabling the ability for user registration

And that is the problem with this PR and why I am not currently in favour of it. If I had a site where I did not want users to be able to change their username or password then I would expect that setting this new option would achieve that just as disable user registration option does. But it doesnt. I could still change/request the username/password directly using com_users which would mean that I had built a site that I had thought people couldnt change their usernames but they could.


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/10126.

avatar andrepereiradasilva
andrepereiradasilva - comment - 29 Apr 2016

I agree with @brianteeman i also think this should be in users component options, not in mod_login

avatar sanek4life
sanek4life - comment - 29 Apr 2016

maybe something like this?

we live in era with Emoji and font icons
pass

avatar sanek4life
sanek4life - comment - 29 Apr 2016

I mean, you have to put a "question icon" mark for the field user name and password

avatar brianteeman
brianteeman - comment - 29 Apr 2016

You mean exactly like the admin login? ;)

On 29 April 2016 at 13:14, s notifications@github.com wrote:

I mean, you have to put a "question icon" mark for the field user name and
password


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
#10126 (comment)

Brian Teeman
Co-founder Joomla! and OpenSourceMatters Inc.
http://brian.teeman.net/

avatar sanek4life
sanek4life - comment - 29 Apr 2016
avatar cpfeifer
cpfeifer - comment - 29 Apr 2016

I agree the functionality for the registration needs to be handled by the component, changing this functionality is outside the scope of any module, and it's not the goal of this PR.

People want to have control over displaying these items. There are buttons to show and hide everything else in Joomla, including cosmetic details in this specific module. Why force our users to do overrides or write hacky CSS when we can add a simple button to help them do this? I'm thinking about our users and there is plenty of evidence this is something people want.

There are many tutorials like this out there:
https://www.ostraining.com/blog/joomla/remove-links-from-login/
That's a lot of steps.

These are comments from our users:
"it might be cool to be able to disable the "Forgot your username" and "Forgot your password" feature in the Login Module, or Options from the User Manager. I'm currently commenting out this bit of code in a mod_login override."

"I ended up using some CSS on clients to avoid overrides..."

"This has probably been asked a thousand times, but i can't seem to find the best answer to remove the
"forgot username" and "forgot password" links underneath the login box .
How do you remove them both, i only want to see the login box.
if it involves editing the code somewhere, can someone eplain clearly waht to either remove or edit out as i am relatively newbie to joomla."

avatar cpfeifer
cpfeifer - comment - 29 Apr 2016

I've updated everything so it's bit more clear.

I'll be honest, I've been using Joomla for years and I've never even noticed those ? reminders in the admin login until they were pointed out in this thread.

In my opinion, adding those icons in would essentially achieve the same thing I'm trying to do, only because not many people know what they are for. Icons and Emoticons are only useful if they effectively communicate the feature and I would say they do not in this case. Too many features are hidden away from our users already.

avatar andrepereiradasilva
andrepereiradasilva - comment - 29 Apr 2016

what?? that "?" in admin is recover password???

in years with problably thousands admin logins, never ever notice that. tought it was an help tip!

Is it just me or it doesn't make sense?

avatar brianteeman
brianteeman - comment - 29 Apr 2016

I see a question mark and I always try to see what it means

On 29 April 2016 at 22:12, andrepereiradasilva notifications@github.com
wrote:

what?? that "?" in admin is recover password???

in years with problably thousands admin logins, never ever notice that.
tought it was an help tip!

Is it just me or it doesn't make sense?


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
#10126 (comment)

Brian Teeman
Co-founder Joomla! and OpenSourceMatters Inc.
http://brian.teeman.net/

avatar andrepereiradasilva
andrepereiradasilva - comment - 29 Apr 2016

well, you're more curious than me :smile:

avatar brianteeman brianteeman - test_item - 29 Apr 2016 - Tested unsuccessfully
avatar brianteeman
brianteeman - comment - 29 Apr 2016

I have tested this item :red_circle: unsuccessfully on 86568b4

I applied the patch and the two remember links were removed from my site without me doing anything else - obviously changing the default behaviour like this is not correct


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/10126.

avatar brianteeman
brianteeman - comment - 29 Apr 2016

Note that after testing it above I opened the module to see that both settings were set to show


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/10126.

avatar brianteeman
brianteeman - comment - 29 Apr 2016

Seems you have top open and then save the login module for this change not to break the existing site settings


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/10126.

avatar brianteeman
brianteeman - comment - 29 Apr 2016

I still believe that this is the wrong approach to a valid issue and it should be done in the User options and not just in the view of the module

screen shot 2016-04-29 at 16 33 01


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/10126.

avatar cpfeifer
cpfeifer - comment - 29 Apr 2016

I think that's a valid point @brianteeman - I would say that many users do not know those options exist in the component, I myself hadn't even considered those specific buttons. What if we put in a message or a link to the component options from the module to point out the functionality already exists?

Many people only consider what they see right in front of them, and my only goal is to make this easier for users. I think we could do that simply by bringing attention to the options they have available. I'm open to anything that helps our users do what they need to do faster and easier.

avatar brianteeman
brianteeman - comment - 29 Apr 2016

They don't exist.

That was a mock-up of how I believe this should be done in the correct way.
Which would ensure that the options are DISABLED and not just cosmetically
HIDDEN.

avatar brianteeman
brianteeman - comment - 29 Apr 2016

To repeat. Not only does this proposed PR not work it only hides something
that a user will be expecting to disable if they were presented with the
option as it is proposed. This is why disabling registration is not done by
hiding the link but by correctly disabling it.

avatar cpfeifer
cpfeifer - comment - 29 Apr 2016

I see, that's probably why I've never noticed those options before :)

I think you're right, that seems like a much better approach in terms of functionality. If we can add these options in the appropriate location and then point out they exist, through a message or link in the module admin, I think that helps our users enough and doesn't compromise existing functionality. I'll go back to the drawing board.

avatar cpfeifer cpfeifer - change - 29 Apr 2016
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2016-04-29 22:03:37
Closed_By cpfeifer
avatar cpfeifer cpfeifer - close - 29 Apr 2016
avatar Kubik-Rubik
Kubik-Rubik - comment - 29 Apr 2016

@cpfeifer Thank you, Cliff. It is a good first PR but I agree with @brianteeman here. IMO it makes more sense to move this to the settings of the component and disable these features completely instead of just hiding the links. What you are trying to achieve can be done easily with a template override, I'm not sure whether we need more parameters in the module. I you would like to try the suggested approach, then just ask me if you need any help!

avatar cpfeifer
cpfeifer - comment - 29 Apr 2016

Thank you @Kubik-Rubik and @brianteeman - I do want to help our users, but only with solutions that make sense for all of us and maintain the integrity of our platform. I'm just getting started so I figured there would be some details I hadn't considered. I appreciate the feedback and the help. I'll dig into this alternate solution and see what we can do. Thanks again.

avatar brianteeman
brianteeman - comment - 29 Apr 2016

Let me know if you need any help going down the component option route? It
should be relatively simple if you just follow the example of the disable
registration option

avatar cpfeifer
cpfeifer - comment - 29 Apr 2016

I appreciate that, I might need it. Let me give it shot and see how it goes over the weekend and I'll do a new PR :)

Add a Comment

Login with GitHub to post a comment