Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Pro

 AfterLogic Forum : AfterLogic WebMail Pro
Subject Topic: Admin Panel Integration Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
matthiask2
Newbie
Newbie


Joined: 08 April 2009
Online Status: Offline
Posts: 6
Posted: 14 April 2009 at 1:24am | IP Logged Quote matthiask2

hey!

is there a possibility of integrating the admin panel into an iframe like the 'integration api' for the normal login screen?

regards,
matthew
Back to Top View matthiask2's Profile Search for other posts by matthiask2
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6089
Posted: 14 April 2009 at 3:16am | IP Logged Quote Igor

Since AdminPanel login screen is much more simple comparing to main login screen, using API is not required. Just create a form similar to actual login form of Admin Panel and use appropriate URL as action value. The following HTML code should do the trick for WebMail Pro PHP:
Code:
<form method="POST"  action="http://server/webmail-pro-php/adminpanel/index.php?l ogin">
<input type="text" id="login" name="loginInput">
<input type="password" id="password" name="passwordInput">
<input type="submit" value="Submit">
</form>

If the form is located in main window and you need to open admin panel in iframe, conside using target attribute of form tag.

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


Joined: 08 April 2009
Online Status: Offline
Posts: 6
Posted: 14 April 2009 at 5:06am | IP Logged Quote matthiask2

thanks for the quick reply, works just fine!

is it also possible to make a redirect when clicking "logout" to a custom page?

regards,
matthias
Back to Top View matthiask2's Profile Search for other posts by matthiask2
 

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