Elxis CMS Forum
Support => General => Topic started by: juanon on August 04, 2014, 13:36:26
-
Hi,
I wonder if it is possible now in Elxis Icarus to redirect a user to specific article/component/url after log in or log out.
I need that feature so much.
Thanks a lot.
-
You can do it with a small modification of module login.
Instructions for Elxis 4.2
Open file modules/mod_login/mlogin.js
Use AJAX logout in module parameters.
Go to line 125
Change this:
location.reload();
To something like that:
window.location = 'http://www.example.com/mycategory/mypage.html';
-
Thanks Ioannis,
is it valid also for loggin in?
Anyway I think it would be a good idea to add this feature out of the box and even with permissions options, so an administrator can be redirected to some page while a registered user to a different one.
Thanks a lot.
-
Hi again,
It works great for redirection after login.
How can I achieve this for logout and for iosr hotelier panel logout?
Thanks a million
-
Anyone?
I´m really in a hurry for a project.
Is there any posibility for adding login and logout redirections to login module?
Thanks a lot