Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Pro

 AfterLogic Forum : AfterLogic WebMail Pro
Subject Topic: Add new tab in webmail that uses ajax Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
testverge
Newbie
Newbie


Joined: 06 February 2013
Location: India
Online Status: Offline
Posts: 11
Posted: 11 February 2013 at 8:15pm | IP Logged Quote testverge

Hello,

I tried adding tab as mentioned in the documentation, but it takes the user to another window.
I would like it to open that via ajax, how can i achieve this.

Thanks
Back to Top View testverge's Profile Search for other posts by testverge
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6087
Posted: 11 February 2013 at 10:26pm | IP Logged Quote Igor

I recommend you study the source code and see how that's done for calendar.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
testverge
Newbie
Newbie


Joined: 06 February 2013
Location: India
Online Status: Offline
Posts: 11
Posted: 11 February 2013 at 11:31pm | IP Logged Quote testverge

Ok, is there a way to update password of a user account by means of api, I check the api but could not find one.

Thanks
Back to Top View testverge's Profile Search for other posts by testverge
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6087
Posted: 11 February 2013 at 11:39pm | IP Logged Quote Igor

You can obtain account info with GetAccountOnLogin method, change any settings you need, and then use UpdateAccount method to save changes. Be sure to check this documentation page for details.

And of course, the password is changed on webmail end only, there's no way to affect actual password of IMAP/POP3 account on server. In most cases, there's no need to change webmail account password explicitly - just log in with the new password specified, and that will work as expected.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
testverge
Newbie
Newbie


Joined: 06 February 2013
Location: India
Online Status: Offline
Posts: 11
Posted: 12 February 2013 at 12:18am | IP Logged Quote testverge

following files are included, but still GetAccountOnLogin() method is not being called, which file stores this method?

require_once WM_ROOTPATH.'application/include.php';

require_once WM_ROOTPATH.'common/inc_constants.php';

require_once WM_ROOTPATH.'common/class_convertutils.php';


Thanks
Back to Top View testverge's Profile Search for other posts by testverge
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6087
Posted: 12 February 2013 at 12:21am | IP Logged Quote Igor

You need to load users API manager. To get an idea how it's done, see the last example here.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 

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