- Posts: 217
- Thank you received: 4
Redirect after registration
- FilipHradil
-
Topic Author
- Offline
Less
More
10 years 1 month ago - 10 years 1 month ago #248715
by FilipHradil
Redirect after registration was created by FilipHradil
-- HikaShop version -- : 2.6.3
-- Joomla version -- : 3.6.2
Hello,
I need there are many topics to this issue, but they are old or doesn't work for me.
I have hikashop registration page as menu item and when I make and account I need to redirect user to own url. Is that possible?
I tried activate_page view
with no result
Thank you
-- Joomla version -- : 3.6.2
Hello,
I need there are many topics to this issue, but they are old or doesn't work for me.
I have hikashop registration page as menu item and when I make and account I need to redirect user to own url. Is that possible?
I tried activate_page view
Code:
<?php
/**
* @package HikaShop for Joomla!
* @version 2.6.3
* @author hikashop.com
* @copyright (C) 2010-2016 HIKARI SOFTWARE. All rights reserved.
* @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
*/
defined('_JEXEC') or die('Restricted access');
$app = JFactory::getApplication();
$app->redirect('myurl');
?>
with no result
Thank you
Last edit: 10 years 1 month ago by FilipHradil.
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 12953
- Thank you received: 1778
10 years 1 month ago #248741
by Mohamed Thelji
Replied by Mohamed Thelji on topic Redirect after registration
Hello,
Can you edit it through "Hikashop->Display->Views" and check that you are editing the file of the good view (checkout) and of your front-end template ?
Thank you.
Can you edit it through "Hikashop->Display->Views" and check that you are editing the file of the good view (checkout) and of your front-end template ?
Thank you.
Please Log in or Create an account to join the conversation.
- FilipHradil
-
Topic Author
- Offline
Less
More
- Posts: 217
- Thank you received: 4
10 years 1 month ago #248797
by FilipHradil
Replied by FilipHradil on topic Redirect after registration
Hello, I tried it already. No effect.
Maybe important things what I should tell are:
- joomla registration is redirected to hikashop
- there isn't any email activation, user just fill username and password, click on register and he is in
Thank you
Maybe important things what I should tell are:
- joomla registration is redirected to hikashop
- there isn't any email activation, user just fill username and password, click on register and he is in
Thank you
Please Log in or Create an account to join the conversation.
10 years 1 month ago #248814
by nicolas
Replied by nicolas on topic Redirect after registration
Hi,
The "activate_page" redirect instructions will only work if you have the activation turned on of course.
In your case, it's the "after_register" view file that you want to edit in order to add your redirect code.
The code to use is the same.
The "activate_page" redirect instructions will only work if you have the activation turned on of course.
In your case, it's the "after_register" view file that you want to edit in order to add your redirect code.
The code to use is the same.
Please Log in or Create an account to join the conversation.
- FilipHradil
-
Topic Author
- Offline
Less
More
- Posts: 217
- Thank you received: 4
10 years 1 month ago #248929
by FilipHradil
Replied by FilipHradil on topic Redirect after registration
It works Nicolas, thank you so much
Please Log in or Create an account to join the conversation.
10 years 3 weeks ago #251169
by flexsus
Hi,
And how would this work for HikaMarket?
I can't get the above to work after a Vendor has registred with success.
What file is used in HikaMarket?
/Henrik
.ninja { color: black; visibility: hidden; }
In case of fire:
1. git commit
2. git push
3. exit building
Replied by flexsus on topic Redirect after registration
FilipHradil wrote: I tried activate_page view
Code:<?php /** * @package HikaShop for Joomla! * @version 2.6.3 * @author hikashop.com * @copyright (C) 2010-2016 HIKARI SOFTWARE. All rights reserved. * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html */ defined('_JEXEC') or die('Restricted access'); $app = JFactory::getApplication(); $app->redirect('myurl'); ?>
Thank you
Hi,
And how would this work for HikaMarket?
I can't get the above to work after a Vendor has registred with success.
What file is used in HikaMarket?
/Henrik
.ninja { color: black; visibility: hidden; }
In case of fire:
1. git commit
2. git push
3. exit building
Please Log in or Create an account to join the conversation.
10 years 3 weeks ago #251172
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Redirect after registration
Hi,
You will find the view "vendormarket / after_register" in HikaMarket.
Regards,
You will find the view "vendormarket / after_register" in HikaMarket.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
The following user(s) said Thank You: flexsus
Please Log in or Create an account to join the conversation.
10 years 3 weeks ago #251204
by flexsus
Was looking after wrong filename
.ninja { color: black; visibility: hidden; }
In case of fire:
1. git commit
2. git push
3. exit building
Replied by flexsus on topic Redirect after registration
Perfect! Working!Jerome wrote: Hi,
You will find the view "vendormarket / after_register" in HikaMarket.
Regards,
Was looking after wrong filename
.ninja { color: black; visibility: hidden; }
In case of fire:
1. git commit
2. git push
3. exit building
The following user(s) said Thank You: ChristopheMG
Please Log in or Create an account to join the conversation.
Time to create page: 0.339 seconds