Welcome,
Guest
.
Please
login
or
register
.
Did you miss your
activation email
?
News:
Bug reports and fixes
.
Home
Help
Login
Register
Elxis CMS Forum
»
Support
»
General
(Moderators:
Ivan Trebješanin
,
Farhad Sakhaei
) »
Custom redirect after login/logout?
« previous
next »
Print
Pages: [
1
]
Author
Topic: Custom redirect after login/logout? (Read 6046 times)
juanon
Full Member
Posts: 109
Custom redirect after login/logout?
«
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.
Logged
datahell
Elxis Team
Hero Member
Posts: 10356
Re: Custom redirect after login/logout?
«
Reply #1 on:
August 04, 2014, 14:19:49 »
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
'
;
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
juanon
Full Member
Posts: 109
Re: Custom redirect after login/logout?
«
Reply #2 on:
August 04, 2014, 15:28:45 »
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.
Logged
juanon
Full Member
Posts: 109
Re: Custom redirect after login/logout?
«
Reply #3 on:
September 30, 2014, 23:45:13 »
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
Logged
juanon
Full Member
Posts: 109
Re: Custom redirect after login/logout?
«
Reply #4 on:
October 02, 2014, 11:38:39 »
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
Logged
Print
Pages: [
1
]
« previous
next »
Elxis CMS Forum
»
Support
»
General
(Moderators:
Ivan Trebješanin
,
Farhad Sakhaei
) »
Custom redirect after login/logout?