Support Forum

Please note that this forum is only available to you in read only mode. In order to contribute to this conversation you will need to renew your subscription.

Remove the "Forgot Username/Password" Links?

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Hello,

In the Lifestyle2 template, where do I need to go to remove the "Forgot Username" and "Forgot Password" links in the login form?

Thanks in advance!
  • David Long's Avatar
  • David Long
  • 3 Month Basic
  • 20 posts
  • Karma: 0
Last Edit: 9 years 8 months ago by David Long.
The administrator has disabled public write access.
You would need either to override it via a template override or by hiding via css display none

The easiest way is to use css - .other-links.form-group {display: none;}
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Is this a css file I would need to alter?
  • David Long's Avatar
  • David Long
  • 3 Month Basic
  • 20 posts
  • Karma: 0
The administrator has disabled public write access.
You would just add that to the custom.css file

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Thanks. I've created the custom.css file, in the template's css folder, and this is the sole contents:

.other-links.form-group {
display: none;
}

Is there anything else I need to allow the removal of these links in the Login form?
  • David Long's Avatar
  • David Long
  • 3 Month Basic
  • 20 posts
  • Karma: 0
The administrator has disabled public write access.
Working?
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
try this

.login-wrap .other-links {
display: none;
}
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Hmmm. I placed this code as shown above, deleted the cache, and pressed F5 to reload the page, but the login form is still presenting these links. Sorry that I am not too familiar with css.
  • David Long's Avatar
  • David Long
  • 3 Month Basic
  • 20 posts
  • Karma: 0
Last Edit: 9 years 8 months ago by David Long.
The administrator has disabled public write access.
Have a link?

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
What would be the template override process?
  • David Long's Avatar
  • David Long
  • 3 Month Basic
  • 20 posts
  • Karma: 0
The administrator has disabled public write access.
I do this in custom.css to get rid of the entire block beneath the login fields (including 'create an account')
.userdata .unstyled {
    display: none;
    }

i wonder if a 3rd party login module would provide more control?
  • blueshift's Avatar
  • blueshift
  • 6 Month Developer
  • 2579 posts
  • 78 Thanks
  • Karma: 26
Last Edit: 9 years 8 months ago by blueshift.
The administrator has disabled public write access.
The following user(s) said Thank You: manh
Try that although create a account can be removed via a global config setting

Thanks Blueshift :)
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
With the module

Ed has a module for it

www.graphicaholic.com/downloads/GALogin/mod_GAlogin_v1.0.0.zip

Thanks a lot Ed :)

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
The following user(s) said Thank You: blueshift
my quickie solution wipes out the whole block
  • blueshift's Avatar
  • blueshift
  • 6 Month Developer
  • 2579 posts
  • 78 Thanks
  • Karma: 26
The administrator has disabled public write access.
As with most things in Joomla you will find there are different ways of doing the same thing :)
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Thanks blueshift and Paul. That removed the links. We have a small site with less than 200 users and I had disabled the 'create an account' option in the global config already; having these unnecessary links is always a returning problem. In other templates, I'd remark out parts of the login.php file. The Lifestyle2 template is taking shape and looking good. I'll look into Ed's login mod on the next template change.
  • David Long's Avatar
  • David Long
  • 3 Month Basic
  • 20 posts
  • Karma: 0
The administrator has disabled public write access.
No problem - you're welcome

Just to check you are aware with the 3 month license that membership is for 1 site?

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Happy Campers