Add Forgot Password link to login page
- GK User
- Wed May 02, 2012 8:12 pm
How would I add a Forgot Password link to the login page for my site?
http://my3creek.com
Thanks,
Chris
http://my3creek.com
Thanks,
Chris
-
- Fresh Boarder
- GK User
- Wed May 09, 2012 6:59 pm
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:
replace them with:
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:
It should look like this now:
Cheers
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
-
- Platinum Boarder
- GK User
- Sat Mar 16, 2013 10:30 pm
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
Great! That worked for me as well. Thank you.
-
- Gold Boarder
3 posts
• Page 1 of 1