To remove (actually, to hide)... do this:
Got to ../templates/gk_cuttingedge/html/mod_login/default.php
and find this code:
- Code: Select all
<li class="pad"><a href="<?php echo JRoute::_( 'index.php?option=com_user&view=reset' ); ?>"> <?php echo JText::_('FORGOT_YOUR_PASSWORD'); ?></a> </li>
<li class="pad"> <a href="<?php echo JRoute::_( 'index.php?option=com_user&view=remind' ); ?>"> <?php echo JText::_('FORGOT_YOUR_USERNAME'); ?></a> </li>
and replace with:
- Code: Select all
<li id="hide" class="pad"><a href="<?php echo JRoute::_( 'index.php?option=com_user&view=reset' ); ?>"> <?php echo JText::_('FORGOT_YOUR_PASSWORD'); ?></a> </li>
<li id="hide" class="pad"> <a href="<?php echo JRoute::_( 'index.php?option=com_user&view=remind' ); ?>"> <?php echo JText::_('FORGOT_YOUR_USERNAME'); ?></a> </li>
Them, open the template_css.css file and add this code:
- Code: Select all
#hide {
display:none;
}
In the future, if you need to show this options on the login form, just erase the code that you put on the template_css.css file.
About the translation... well, the login form module is based on the joomla module provided, only with some style changes of our own. So, if you need translation, you need to have your native language installed on your website.
Cheers