Advertisement

Edit Login Form

General questions relating to Joomla! 5.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Post Reply
rbaker3674
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Tue Jun 11, 2024 7:15 pm

Edit Login Form

Post by rbaker3674 » Tue Jun 11, 2024 7:33 pm

Hi there,

I have searched for solutions to this and have tried a few different avenues but not having any luck.

I just want to be able to edit/customize the login form for my site.
  • Instead of "username" I'd like it to say "Email".
    I'd like to remove the "forgot username/password" links.
    I'd also like to add a button to the top for an option to SSO.
I have tried working with the override files for:
templates/themis/html/mod_login/default.php
and
templates/themis/html/mod_languages/default.php

Entering:
MOD_LOGIN_VALUE_USERNAME="Email"
COM_USERS_LOGIN_USERNAME_LABEL="Email"

Trying to get something to stick, but nothing updates.

Any tips or resources for any of the above items would be appreciated!
I have made edits like this to login forms in the past, but it was directly to the core files and of course older versions of Joomla.

Advertisement
User avatar
ceford
Joomla! Hero
Joomla! Hero
Posts: 2813
Joined: Mon Feb 24, 2014 10:38 pm
Location: Edinburgh, Scotland
Contact:

Re: Edit Login Form

Post by ceford » Wed Jun 12, 2024 7:30 am

Have you tried Language Overrides? Look in System / Manage panel / Language Overrides.

rbaker3674
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Tue Jun 11, 2024 7:15 pm

Re: Edit Login Form

Post by rbaker3674 » Thu Jun 13, 2024 2:09 pm

That did work for changing the label, thanks!
I am realizing that the language overrides are different from creating an override file for mod_languages.

Would this be the same route to follow to:
remove the "forgot username/password" links.
add a button to the top for an option to SSO.

User avatar
ceford
Joomla! Hero
Joomla! Hero
Posts: 2813
Joined: Mon Feb 24, 2014 10:38 pm
Location: Edinburgh, Scotland
Contact:

Re: Edit Login Form

Post by ceford » Thu Jun 13, 2024 2:17 pm

I don't think so. Language overrides just change the text that appears for a particular language constant. If you want to change what appears where you need a template override.

Advertisement

Post Reply

Return to “General Questions/New to Joomla! 5.x”