-
AuthorPosts
-
vanxed Friend
vanxed
- Join date:
- August 2014
- Posts:
- 6
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 2
- Thanked:
- 1 times in 1 posts
October 20, 2014 at 10:40 am #202254Hello 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 Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
October 20, 2014 at 10:49 am #553603Hi
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 Friendvanxed
- Join date:
- August 2014
- Posts:
- 6
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 2
- Thanked:
- 1 times in 1 posts
October 20, 2014 at 11:00 am #553606Hello 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 Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
October 20, 2014 at 3:15 pm #553628Hi
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
-
AuthorPosts
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