Only one login & registration form VirtueMart
- GK User
- Sun May 18, 2014 6:35 pm
Hi
I want have only one login & registration form. Quit only the joomla registration and put the virtuemart registration.
I've been reading your guide:
https://www.gavick.com/documentation/ge ... tion-form/
The problem is that I find this code in my file, but i can`t find it:
I need to find to make the change.
Do you know, where I have to make the change?
Thanks
I want have only one login & registration form. Quit only the joomla registration and put the virtuemart registration.
I've been reading your guide:
https://www.gavick.com/documentation/ge ... tion-form/
The problem is that I find this code in my file, but i can`t find it:
- Code: Select all
<li>
<a href="<?php echo JRoute::_('index.php?option=com_users&view=registration'); ?>">
<?php echo JText::_('COM_USERS_LOGIN_REGISTER'); ?></a>
</li>
I need to find to make the change.
Do you know, where I have to make the change?
Thanks
-

- Senior Boarder
- GK User
- Mon May 19, 2014 8:29 am
In file template/layouts/default.php you will find this code :
please just change this part :
to VirtueMart registration URL and disable register module.
- Code: Select all
<?php if(GK_REGISTER) : ?>
<a href="<?php echo $this->URLbase(); ?>index.php?option=com_users&view=registration" id="btnRegister"><?php echo JText::_('TPL_GK_LANG_REGISTER'); ?></a>
<?php endif; ?>
please just change this part :
- Code: Select all
index.php?option=com_users&view=registration
to VirtueMart registration URL and disable register module.
-

- Platinum Boarder
- GK User
- Mon May 19, 2014 9:52 am
But if i disable register module (mod_gk_register) i don't see the acces in the frontpage to register... no?
Because virtuemart dont have register module for publish in this position...
Because virtuemart dont have register module for publish in this position...
-

- Senior Boarder
- GK User
- Wed May 21, 2014 3:20 pm
any idea?
-

- Senior Boarder
- GK User
- Thu May 22, 2014 10:59 am
There is no way to create register module for VirtueMart, the only way is to redirect customer to regular register page if you want to use VM form.
-

- Platinum Boarder
- GK User
- Fri May 23, 2014 11:01 am
Hi
Yes, i do that you said me
chanche
for
but when i click in the button Registrarse (Register) open a lightbox with de joomla register. I can that when i click, send my to virtuemart registration.
Yes, i do that you said me
chanche
- Code: Select all
index.php?option=com_users&view=registration
for
- Code: Select all
index.php?option=com_virtuemart&view=user
but when i click in the button Registrarse (Register) open a lightbox with de joomla register. I can that when i click, send my to virtuemart registration.
-

- Senior Boarder
- GK User
- Tue May 27, 2014 8:08 am
Probably mod_gk_register module is still published in register position, please deactivate this module and the URL should redirect to default registration view.
-

- Platinum Boarder
- GK User
- Tue May 27, 2014 11:27 am
Hi
but if i desactive this module, i have not a register link... i want have a link with the name of register, and when y click in this link, send me to virtuemart register...
but if i desactive this module, i have not a register link... i want have a link with the name of register, and when y click in this link, send me to virtuemart register...
-

- Senior Boarder
- GK User
- Wed May 28, 2014 8:05 am
Please contact with me via PM and provide me FTP details and link to this topic - this change will require changes in template code because in older templates the register link was dedicated to our register module only.
-

- Platinum Boarder
9 posts
• Page 1 of 1
