test
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • andrescala Friend
    #195652

    Hi 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
    Scala

    Ninja Lead Moderator
    #526468

    For 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:


    1. login_module
Viewing 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