-
AuthorPosts
-
andrescala Friend
andrescala
- Join date:
- July 2011
- Posts:
- 34
- Downloads:
- 0
- Uploads:
- 2
- Thanks:
- 11
- Thanked:
- 1 times in 1 posts
March 10, 2014 at 6:12 pm #195652Hi there,
So, this question devides in two parts;
In my site (http://scala.andrescala.com/) I want that the clientes make an registration just when they buy an plan; so, how can I remove the register link on the bottom? I tryed to desactivate but if I do that I can’t register to an plan because I’m using the Joomla form integrated!!
The second part is, how can I construct an area for my clients? What I mean is, if you make login with user and password user you are redirected with the onepage layout; what I want to achieve is, when an cliente make login, he will just have showing he’s profile; on the right, an menu that leaves to other options, like, change profile, add more services, consult current services.
Sorry.
Best regards
ScalaNinja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
March 12, 2014 at 11:26 am #526468For question #1, you can find and remove register link from com_users in the components/com_users/views/login/tmpl/default_login.php file
Find and remove code in red:
<?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; ?>Then you should have:
<?php
$usersConfig = JComponentHelper::getParams('com_users');
?>For question #2, in Login module, you can set Login Redirection Page and Logout Redirection Page and this case you have to direct it to User Profile, see the screenshot:
AuthorPostsViewing 2 posts - 1 through 2 (of 2 total)This topic contains 2 replies, has 2 voices, and was last updated by Ninja Lead 10 years, 9 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Client area
Viewing 2 posts - 1 through 2 (of 2 total)