Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • vanxed Friend
    #202254

    Hello Guys,

    I would like to know how can I change the URL of Create Acccount, Forgot Username, Forgot Password on the Login Module;

    Currently the one for Forgot Username is this one;

    http://www.mysite.com/index.php/using-joomla/extensions/components/users-component/username-reminder

    Also the other the one to recover the password is this one:

    http://www.mysite.com/index.php/using-joomla/extensions/components/users-component/password-reset

    I really don’t like those URLs and I’m looking input in how to change those to something more friendly

    Any comment, any help, any suggestion is welcome. Even if you think is not the best solution please put it down in here as I ran out of options and I need help.

    Thank You All & Best Regards,

    Vanxed

    pavit Moderator
    #553603

    Hi

    You can edit this file templatesja_magzhtmlmod_logindefault.php

    $usersConfig = JComponentHelper::getParams('com_users');
    if ($usersConfig->get('allowUserRegistration')) : ?>
    <ul class="unstyled">
    <li>
    <a href="<?php echo JRoute::_('index.php?option=com_users&view=registration'); ?>">
    <?php echo JText::_('MOD_LOGIN_REGISTER'); ?> <span class="fa fa-arrow-right"></span></a>
    </li>
    <li>
    <a href="<?php echo JRoute::_('index.php?option=com_users&view=remind'); ?>">
    <?php echo JText::_('MOD_LOGIN_FORGOT_YOUR_USERNAME'); ?></a>
    </li>
    <li>
    <a href="<?php echo JRoute::_('index.php?option=com_users&view=reset'); ?>"><?php echo JText::_('MOD_LOGIN_FORGOT_YOUR_PASSWORD'); ?></a>
    </li>

    </ul>
    <?php endif; ?>

    vanxed Friend
    #553606

    Hello Pavit,

    Thank you so much for your time and thank you for sharing your solution.

    However, I’m lost.

    How can I change something in that code you posted to make the URLs that are visible to the people look in a different way?

    For example: Right now is the ugly URL that I posted above but I would like to have an URL like:

    http://www.mysite.com/forgot-username – for the forgot username case

    From what you posted I don’t know how to get there. Honestly I went blank.

    Thank You again for your time and Best Regards,

    Vanxed

    pavit Moderator
    #553628

    Hi

    You can solve in this way :

    I will show how to change url for password reset

    Make a new menu and name it hidden as type menu enter hidden-menu , then open menu named about joomla and find menu item password-reset , edit it and move it inside hidden menu changing alias with your preferred url name, save it and test , you will see that url showed will be your new url

    vanxed Friend
    #553630

    Pavit,

    Thank you so mucho. I was able to change the URL.

    Looks much better and make more sense now.

    Best Regards,

    Vanxed

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

This topic contains 5 replies, has 2 voices, and was last updated by  vanxed 10 years, 1 month ago.

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