test
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • ew128 Friend
    #174631

    and how to add link to forgotten password?


    1. ja_login
    Saguaros Moderator
    #442105

    Hi there,
    – To remove “Create an account” in JA Login module, kindly go to:

    templatesYour_templatehtmlmod_jalogindefault.php
    scroll down to approx line 97 and you can see <li> tag with class=”view-register”, remove this:

    <li class="view-register">
    <a class="register-switch" href="<?php echo JRoute::_("index.php?option=com_users&task=registration");?>" onclick="showBox('ja-user-register','namemsg',this, window.event || event);return false;" >
    <span><?php echo JText::_('REGISTER');?></span>
    </a>
    <!--LOFIN FORM content-->
    .......................................
    <li>

    – With forgotten password link, please let me know where you want to put this link in?

    ew128 Friend
    #442473

    I removed “Create an account”- your solution is work fine. Thanks

    I would like to add forgotten password link to login formular. For example below checkbox “remember me”

    Saguaros Moderator
    #442513

    Hi,
    In the same file ‘default.php’, please add this code next to these lines of code:

    <?php if (JPluginHelper::isEnabled('system', 'remember')) : ?>
    <p id="form-login-remember" class="login-remem clearfix">
    <input type="submit" name="Submit" class="button" value="<?php echo JText::_('BUTTON_LOGIN'); ?>" />
    <label for="modlgn-remember" class="login_remember clearfix">
    <input id="modlgn-remember" type="checkbox" name="remember" class="inputbox" value="yes"/>
    <span><?php echo JText::_('MOD_LOGIN_REMEMBER_ME') ?></span>
    </label>
    </p>
    <?php endif; ?>
    <!-- Add this -->
    <p>
    <a href="<?php echo JRoute::_('index.php?option=com_users&view=reset'); ?>">
    <?php echo JText::_('FORGOT_YOUR_PASSWORD'); ?>
    </a>
    </p>

    Please let me know if you need further assistance 🙂

Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 4 replies, has 2 voices, and was last updated by  Saguaros 12 years, 8 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum