- Posts: 110
- Thank you received: 4
Redirections after Registration/Login/Activation
14 years 5 days ago #69496
by mike
Redirections after Registration/Login/Activation was created by mike
Hello there
I would like to ask something about the registration, login and account activation process.
Is there a way to redirect after each step.
For example: If I activate an account via the link sent by email, there is a message, that the account has been activated. This messages fades after a few seconds and an empty content page is display and no move id done.
After the registration, I would like either to be redirected to the Home-Page (Start-Page) or stay on the page, but the message shall not fade.
After the activation, I would prefere to redirect the customer to it's customer account information.
After a successfull login, I would like to redirect the customer to the product overview (a menu point in my shop).
It this possible somehow and how?
Best regards
Mike
I would like to ask something about the registration, login and account activation process.
Is there a way to redirect after each step.
For example: If I activate an account via the link sent by email, there is a message, that the account has been activated. This messages fades after a few seconds and an empty content page is display and no move id done.
After the registration, I would like either to be redirected to the Home-Page (Start-Page) or stay on the page, but the message shall not fade.
After the activation, I would prefere to redirect the customer to it's customer account information.
After a successfull login, I would like to redirect the customer to the product overview (a menu point in my shop).
It this possible somehow and how?
Best regards
Mike
Please Log in or Create an account to join the conversation.
14 years 4 days ago #69579
by nicolas
Replied by nicolas on topic Re: Redirections after Registration/Login/Activation
Hi,
If your messages are fading, it means that it comes from your template which does that effect. You should contact your template provider so that it tell you how you can turn that off in your template.
For the activation page, you will have to edit the file "activate_page" via the menu Display>Views and add that code at the end :
Login is handled by Joomla, not HikaShop. You can redirect the user after login like explained here:
docs.joomla.org/How_do_you_redirect_user..._successful_login%3F
If your messages are fading, it means that it comes from your template which does that effect. You should contact your template provider so that it tell you how you can turn that off in your template.
For the activation page, you will have to edit the file "activate_page" via the menu Display>Views and add that code at the end :
Code:
$app = JFactory::getApplication();
global $Itemid;
if(!empty($Itemid)){
$url_itemid='&Itemid='.$Itemid;
}
$app->redirect( JRoute::_('index.php?option=com_users&view=profile&layout=edit'.$url_itemid,true));
Login is handled by Joomla, not HikaShop. You can redirect the user after login like explained here:
docs.joomla.org/How_do_you_redirect_user..._successful_login%3F
Please Log in or Create an account to join the conversation.
12 years 11 months ago #130335
by copyman
Replied by copyman on topic Re: Redirections after Registration/Login/Activation
Hi
I want to make custom page after registration and other after activating account.
I made this page after registration - /components/com_hikashop/views/checkout/tmpl/activate_page.php - it's WORK !
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 page after registration - /components/com_hikashop/views/checkout/tmpl/activate_page.php - it's WORK !
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
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 12953
- Thank you received: 1778
12 years 11 months ago #130852
by Mohamed Thelji
Replied by Mohamed Thelji on topic Redirections after Registration/Login/Activation
Hi,
And did you tried it through the "after_register" file of the "user" view of your front-end template via "Hikashop->Display->Views" ?
And did you tried it through the "after_register" file of the "user" view of your front-end template via "Hikashop->Display->Views" ?
Please Log in or Create an account to join the conversation.
Time to create page: 0.196 seconds