Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Lite 7

 AfterLogic Forum : AfterLogic WebMail Lite 7
Subject Topic: Multiple Custom Logout Screens Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
iSofia
Newbie
Newbie
Avatar

Joined: 24 May 2014
Location: Singapore
Online Status: Offline
Posts: 35
Posted: 24 May 2014 at 11:01am | IP Logged Quote iSofia

Hello. I read a post from the ever-helpful Igor, regarding custom logout screens. Here's the snippet:
Code:
return array(
     'labs.webmail.custom-logout-url' => 'http://your.domain.com/',
     ...
);
It works perfectly, but I was wondering if it would be possible to have more than one of these custom logout screens?

It would be nice for the user to be returned back to their own login screens when they log out.

Has anyone been able to do this?
Back to Top View iSofia's Profile Search for other posts by iSofia
 
iSofia
Newbie
Newbie
Avatar

Joined: 24 May 2014
Location: Singapore
Online Status: Offline
Posts: 35
Posted: 01 June 2014 at 5:18am | IP Logged Quote iSofia

Another issue resolved. The experimental labs approach through the config.php file limits the redirection to just one location. Perhaps it may still be possible if the getCurrent() API function is accessible from within config.php.

However, the solution is found in the app.js file, or app.min.js in the case of WebMail Lite. By using the getCurrent() API function, the domain name can be determined, and loaded in the logout procedure.

Back to Top View iSofia's Profile Search for other posts by iSofia
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide