-
AuthorPosts
-
ew128 Friend
ew128
- Join date:
- October 2011
- Posts:
- 101
- Downloads:
- 0
- Uploads:
- 45
- Thanks:
- 8
- Thanked:
- 2 times in 1 posts
March 5, 2012 at 2:24 pm #174631Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
March 6, 2012 at 3:37 am #442105Hi 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?
1 user says Thank You to Saguaros for this useful post
ew128 Friendew128
- Join date:
- October 2011
- Posts:
- 101
- Downloads:
- 0
- Uploads:
- 45
- Thanks:
- 8
- Thanked:
- 2 times in 1 posts
March 7, 2012 at 9:12 pm #442473I 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 ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
March 8, 2012 at 2:39 am #442513Hi,
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 🙂
AuthorPostsViewing 4 posts - 1 through 4 (of 4 total)This topic contains 4 replies, has 2 voices, and was last updated by Saguaros 12 years, 10 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
How to remove "Create an account" in JA Login module and
Viewing 4 posts - 1 through 4 (of 4 total)