- Posts: 3
- Thank you received: 0
Redirections after Registration/Activation SOLVED
12 years 11 months ago - 12 years 11 months ago #130383
by copyman
Redirections after Registration/Activation SOLVED was created by copyman
Hi
I want to make custom page after registration and other after activating account.
I made this redirection after registration - /components/com_hikashop/views/checkout/tmpl/activate_page.php - it's WORK !
Add this code ...
but I can not find where I make page after activating the account via email. I tried the file /components/com_hikashop/views/user/tmpl/after_register.php but without success
Can you help me?
Best Regards
I want to make custom page after registration and other after activating account.
I made this redirection after registration - /components/com_hikashop/views/checkout/tmpl/activate_page.php - it's WORK !
Add this code ...
Code:
<?php
$app=& JFactory::getApplication();
$app->redirect('index.php?option=com_content&view=article&id=79');
?>
but I can not find where I make page after activating the account via email. I tried the file /components/com_hikashop/views/user/tmpl/after_register.php but without success
Can you help me?
Best Regards
Last edit: 12 years 11 months ago by copyman.
Please Log in or Create an account to join the conversation.
12 years 11 months ago #130390
by copyman
Replied by copyman on topic Redirections after Registration/Activation
I found solution !
in components/com_hikashop/controller/checkout.php after code:
add redirection to custom page:
in components/com_hikashop/controller/checkout.php after code:
Code:
$app->redirect( hikashop_completeLink('checkout'.$url,false,true) );
}else{
add redirection to custom page:
Code:
$app->redirect('index.php?option=com_content&view=article&id=86');
Please Log in or Create an account to join the conversation.
Time to create page: 0.089 seconds