Latest news
Home » PHP » How to change the redirection page after login in socialengine

How to change the redirection page after login in socialengine

socialengine is a zendframework based project helps the developers to build their own custom social network website.
socialengine following the MVC structure.

The login action is in user/controllers/AuthController.php

Here we specify the redirection URL
return $this->_helper->redirector->gotoRoute(array(“action”  =>  ‘home’) ,  “user_general” ,  true);

 change the user router according to your need.

One comment

  1. Thank you for publishing this…:)

Leave a Reply

x

Check Also

How to print Codeigniter upload error

if you want to display errors on upload functionality in codeigniter. Use the following function ...