Custom logout screen based on suborg
September 5, 2017 12:00 AM
Hi,
I have set up earlier in the customlogout.html different logout screens for some of our orgs. I have made four custom login pages in four different languages for one organization. It would be nice that e.g. when a Croatian user logs out he/she would get back to the Croatian login page.
Is it possible to set up the logout screen to be based on the suborg0 value, instead of the orgid value?
Thanks!
Discussion (3)
To be more specific: I added this line to the customlogout.html file:
if( suborg0 == 'Croatia' ) htmlDefault = 'suzuki_verseny_hr_logout.html';
And of course, I created the suzuki_verseny_hr_logout.html file, which directs the user back to the login page I want.
But it is not working, a blank page appears when a user with the suborg0 value 'Croatia' logs out.
Is there an error in the files, or this is not possible at all?
Thanks!
I don't have an answer for you, but would be interested to learn how to do this as well.
This option is not currently available within the system. I'll pass along this post in reference to potentially adding it into CourseMill in the future.
Discussions have been disabled for this post