How would I add a Forgot Password link to the login page for my site?
http://my3creek.com
Thanks,
Chris
<?php echo JHtml::_('form.token'); ?>
</form>
</div>
</div>
<?php echo JHtml::_('form.token'); ?>
</form>
</div>
<div id="gkReminder">
<ul>
<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>
<?php
$usersConfig = JComponentHelper::getParams('com_users');
if ($usersConfig->get('allowUserRegistration')) : ?>
<li>
<a href="<?php echo JRoute::_('index.php?option=com_users&view=registration'); ?>">
<?php echo JText::_('COM_USERS_LOGIN_REGISTER'); ?></a>
</li>
<?php endif; ?>
</ul>
</div>
</div>
#gkReminder {clear: both;}
#gkReminder li {display: inline; text-transform: uppercase; font-size: 10px; margin-right: 10px}
Seichinha wrote:Hi
Sorry about the delay.
Please open the following file: ../gk_myfolio/html/com_users/login/default_login.php
and find this lines at the end of the document:
- Code: Select all
<?php echo JHtml::_('form.token'); ?>
</form>
</div>
</div>
replace them with:
- Code: Select all
<?php echo JHtml::_('form.token'); ?>
</form>
</div>
<div id="gkReminder">
<ul>
<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>
<?php
$usersConfig = JComponentHelper::getParams('com_users');
if ($usersConfig->get('allowUserRegistration')) : ?>
<li>
<a href="<?php echo JRoute::_('index.php?option=com_users&view=registration'); ?>">
<?php echo JText::_('COM_USERS_LOGIN_REGISTER'); ?></a>
</li>
<?php endif; ?>
</ul>
</div>
</div>
Them go to template parameters and enable override.css file on advanced settings.
Next open override.css file located on css template directory and add this lines on this file:
- Code: Select all
#gkReminder {clear: both;}
#gkReminder li {display: inline; text-transform: uppercase; font-size: 10px; margin-right: 10px}
It should look like this now:screen.png
Cheers
