Latest Blogs

News
Hi guys, It's Cyber Monday. TemPlaza offers you a 40% Discount on several premium products including Joomla templates and WordPress themes. This big deal will end today. As a result, throw your hesitation away and shop your favorite items now. Don't ...
194 Hits
News
Hi guys, When it comes to the end of the year, it also means the holiday season is just around the corner. Interestingly, moreover, Black Friday is so close. Once in a blue moon, this will be the biggest shopping event of the year in which you can bu...
1013 Hits
News
Hi folks, Nowadays, events and conferences have become so popular, so many people have a high interest on becoming a professional event organizers. If you are one of them, you certainly need to expand your event organization to an entirely new level....
613 Hits
News
Hi guys, Halloween 2019 is just around the corner. To celebrate this spooky occasion, TemPlaza's so happy to offer you an amazing discount that is applied to some of our featured items including Joomla Templates and WordPress Themes&nb...
3305 Hits
News
Today, we are so excited to inform you that we have recently updated and released new versions of some WordPress themes. In these new versions, we've added some fixes and new layouts as well. Please take a closer look at these changes mentioned below...
1834 Hits
How to Delete Joomla’s Forget Username and Forget Password Links?

How to Delete Joomla’s Forget Username and Forget Password Links?

The login form of Joomla always has the links for Forget Username and Forget Password below. However, if users do not wish to use these functions, there is a way to easily get rid of them.

In this article, we will know the exact way to remove Joomla’s Forget Username and Forget Password Links. We apply it on the latest version of Joomla, Joomla 3.6.2.

This is how a Joomla's default login form looks like:

1. Delete the links from Users component

- Firstly, please go to Templates > Templates > Open the Details and Files Preview of the template you are using.

- Go to tab “Create Overrides” to create an override by following Components > com_users > login

- There is now a message informing that the override has been successfully created in html\com_users\login

- In tab “Editor”, please go to html > com_users > login > Open "default_login.php"

- Remove the code from line 93 – 100:

<li>
            <a href="/<?php echo JRoute::_('index.php?option=com_users&view=reset'); ?>">
            <?php echo JText::_('COM_USERS_LOGIN_RESET'); ?></a>
        </li>
        <li>
            <a href="/<?php echo JRoute::_('index.php?option=com_users&view=remind'); ?>">
            <?php echo JText::_('COM_USERS_LOGIN_REMIND'); ?></a>
</li>

2. Delete the links from Login module

- Please go to Templates > Templates > Open the Details and Files Preview of the template you are using

- In tab “Create Overrides”, go to Module > mod_login

- There is now a message informing that the override has been successfully created in html > mod_login.

- In tab “Editor”, please go to html > mod_login > Open "default.php"

- Remove the code from line 105-112:

<li>
                    <a href="/<?php echo JRoute::_('index.php?option=com_users&view=remind&Itemid=' . UsersHelperRoute::getRemindRoute()); ?>">
                    <?php echo JText::_('MOD_LOGIN_FORGOT_YOUR_USERNAME'); ?></a>
                </li>
                <li>
                    <a href="/<?php echo JRoute::_('index.php?option=com_users&view=reset&Itemid=' . UsersHelperRoute::getResetRoute()); ?>">
                    <?php echo JText::_('MOD_LOGIN_FORGOT_YOUR_PASSWORD'); ?></a>
</li>

3. Check the result

Now you can go to your front-end of site and check the result.

 

Thank you so much for reading this tutorial. I hope that it can be useful to you.

30% OFF on Photography Agency – One Page WordPress...
OFF Support for Some TemPlaza’s WordPress Themes