-
AuthorPosts
-
oboect Friend
oboect
- Join date:
- December 2012
- Posts:
- 27
- Downloads:
- 0
- Uploads:
- 5
- Thanks:
- 9
- Thanked:
- 6 times in 1 posts
January 30, 2013 at 2:35 pm #184514Hi all,
I need to have a login module for people to log in and create their own account. The module is present but when you click on the “Create an account” does not link to the Virtuemart form. Instead, goes to the Joomla standard one. That means that they don’t fill up their addresses straight away and creates some issues at the checkout. So, is there anyway to do that?
In the picture below you see the link on the right hand side and if you look to the top right of the image you see “My account” which actually what I am aiming for.
The website is already online at: http://www.t-reeds.com
Thank you very much.
Borja
Phill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
January 30, 2013 at 3:11 pm #481713You can use the virtuemart login module instead of the standard Joomla one. If you go to your module manager you should be able to create a new VM login module if it is installed. If not you can download the module from the virtuemart site.
oboect Friendoboect
- Join date:
- December 2012
- Posts:
- 27
- Downloads:
- 0
- Uploads:
- 5
- Thanks:
- 9
- Thanked:
- 6 times in 1 posts
January 30, 2013 at 3:30 pm #481718Hello Phill,
I have not found that particular module on the Virtuemart website. Can you post here the link?
Thanks
Borja
Phill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
January 30, 2013 at 3:54 pm #481721Seems I was wrong, it is no longer included in the VM2 package. I will need to do some research and get back to you.
oboect Friendoboect
- Join date:
- December 2012
- Posts:
- 27
- Downloads:
- 0
- Uploads:
- 5
- Thanks:
- 9
- Thanked:
- 6 times in 1 posts
January 30, 2013 at 6:04 pm #481733No worries, will wait for your wise advice.
Just to try to help this is the link that I want to redirect the “Create an account”:
index.php?option=com_virtuemart&view=user&layout=edit
I have changed it at modules/mod_login/tmpl/default.php at line 72
[PHP]
72 <li>
73 <a href=”<?php echo JRoute::_(‘index.php?option=com_virtuemart&view=user&layout=edit’); ?>”>
74 <?php echo JText::_(‘MOD_LOGIN_REGISTER’); ?></a>
75 </li>
[/PHP]But just did not change anything. I have got the feeling that the Login module is taking the code from K2. But is not a K2 Login module. I did not find the K2 Login module code to replace the link.
This is where I got stack.
Hope this help and thank you for your time.
Borja
Phill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
January 30, 2013 at 6:50 pm #481739That should work. Have you got any module overrides in the templates html folder?
Phill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
oboect Friendoboect
- Join date:
- December 2012
- Posts:
- 27
- Downloads:
- 0
- Uploads:
- 5
- Thanks:
- 9
- Thanked:
- 6 times in 1 posts
January 30, 2013 at 11:09 pm #481759Hi Phil,
Ok it did work in the end but I am going to explain sted by step what I did.
I always followed the same process, I changed this:
[PHP]
<li>
<a href=”<?php echo JRoute::_(‘index.php?option=com_users&view=registration’); ?>”>
<?php echo JText::_(‘COM_USERS_LOGIN_REGISTER’); ?></a>
</li>
[/PHP]For this:
[PHP]
<li>
<a href=”<?php echo JRoute::_(‘index.php?option=com_users&view=registration’); ?>”>
<?php echo JText::_(‘MOD_LOGIN_REGISTER’); ?></a>
</li>
[/PHP]The first one I changed was at:
/templates/ja_mixmaz/html/com_users/login/default_login.phpIt did not work. Then I went to:
/plugins/system/jat3/jat3/base-themes/default/html/com_users/login/default_login.php
Did not work either. And finally I found:
/plugins/system/jat3/jat3/base-themes/default/html/mod_login/default.php
And everything changed for good.
So I am not sure if the first and second file was needed but so far no problem. In the end I solved everythink.
Thank you very much.
Borja
1 user says Thank You to oboect for this useful post
AuthorPostsViewing 8 posts - 1 through 8 (of 8 total)This topic contains 8 replies, has 2 voices, and was last updated by oboect 11 years, 10 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Login "Create an account" does not link to the Virtuemart form
Viewing 8 posts - 1 through 8 (of 8 total)