| Author |  | 
      
        | zctr Newbie
 
  
 
 Joined: 25 August 2013
 Online Status: Offline
 Posts: 2
 | 
          Hello,
           | Posted: 25 August 2013 at 11:45pm | IP Logged |   |  
           | 
 |  Please help me how to customize the log off page? webmail pro v7.
 i found this link and followed:
 http://www.afterlogic.com/forum/forum_posts.asp?TID=2355
 but, doesn't work.
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Igor AfterLogic Support
 
  
 
 Joined: 24 June 2008
 Location: United States
 Online Status: Offline
 Posts: 6168
 | 
          Well, that page is quite old so suggestions posted there aren't going to work for v7 indeed. In current version, however, this is done in a really quick and easy way. In static/js/app.js file, locate line ~4724:
           | Posted: 26 August 2013 at 12:05am | IP Logged |   |  
           | 
 |  
 
 
| Code: 
 
    
    | 
      
       | this.CustomLogoutUrl = ''; |  |  |  
 Supplying the URL you need to be used there should do the trick. Be sure to purge cache to apply changes.
 
 --
 Regards,
 Igor, AfterLogic Support
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | zctr Newbie
 
  
 
 Joined: 25 August 2013
 Online Status: Offline
 Posts: 2
 | 
          Hello,
           | Posted: 26 August 2013 at 2:15am | IP Logged |   |  
           | 
 |  it still doesn't work.
 Let's talk about " purge cache":
 what i did is: empty the cache is browser;
 delete all the files in data/cache directory
 Is there anything else i need to do?
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Igor AfterLogic Support
 
  
 
 Joined: 24 June 2008
 Location: United States
 Online Status: Offline
 Posts: 6168
 | 
          Sorry, looks like I was looking at the wrong direction. The proper way to do that is to add the following item to array defined in data/settings/config.php file:
           | Posted: 26 August 2013 at 2:22am | IP Logged |   |  
           | 
 |  
 
 
| Code: 
 
    
    | 
      
       | return array( 'labs.webmail.custom-logout-url' => 'http://your.domain.com/',
 ...
 );
 
 |  |  |  
 --
 Regards,
 Igor, AfterLogic Support
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | aricci Newbie
 
  
 
 Joined: 23 April 2014
 Location: Canada
 Online Status: Offline
 Posts: 17
 | 
          Does this still work? I tried it today and received an error. Has the code changed for use with the latest version of WebMail Pro PHP?
           | Posted: 23 April 2014 at 12:06pm | IP Logged |   |  
           | 
 |  | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Igor AfterLogic Support
 
  
 
 Joined: 24 June 2008
 Location: United States
 Online Status: Offline
 Posts: 6168
 | 
          Yes, the approach still works, I've just checked that with the current version. Make sure the line is added correctly so that proper PHP syntax is maintained: array items need to be separated with commas, and there should be no comma after the last item. Simplest way is to put that line as first array item, you just copy it there the way it is.
           | Posted: 23 April 2014 at 11:59pm | IP Logged |   |  
           | 
 |  
 --
 Regards,
 Igor, AfterLogic Support
 | 
       
        | Back to Top |     | 
       
       
        |  |