Redirections after Registration/Login/Activation

  • Posts: 110
  • Thank you received: 4
  • Hikashop Business
12 years 6 months ago #69496

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

Please Log in or Create an account to join the conversation.

  • Posts: 83741
  • Thank you received: 13548
  • MODERATOR
12 years 6 months ago #69579

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 :

$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.

  • Posts: 3
  • Thank you received: 0
11 years 6 months ago #130335

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 !

<?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.

  • Posts: 12953
  • Thank you received: 1778
11 years 6 months ago #130852

Hi,
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.079 seconds
Powered by Kunena Forum