Latest Blogs

News
Vietnamese Lunar New Year is coming very soon. This 7-day festival is the biggest holiday that marks the beginning of a New Year according to the Vietnamese lunar calendar. To celebrate this most exciting holiday, TemPlaza would like to offer you a s...
833 Hits
Tutorials
Articles
Websites hold the foremost pillars to promote your brand in this era of digitization and the internet of things. But how to launch a successful website that not only provides a great user experience but convert leads as well? Website designing is a c...
847 Hits
News
Today, I would like to introduce a new item that has recently been released, it's Goldena. This is a beautiful and creative single property Joomla template specially developed for Single Property, Building Services, Building Business & all kinds ...
816 Hits
News
We've been through a hard time during 2020 and thank you so much for being accompanied by us, as well as your great support. Let's say goodbye to 2020 and welcome the new year of 2021 with better things. Looking back to the old year, the team was wor...
1570 Hits
News
Christmas and New Year 2021 are knocking on our doors. We've been through a busy and hard time of the year 2020. We would like to give you a big thank you for being accompanied by us for the whole year. It's time to enjoy our Christmas...
1885 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

By accepting you will be accessing a service provided by a third-party external to https://www.templaza.com/