Author |
|
mbsarino Newbie
Joined: 20 September 2014 Location: Indonesia
Online Status: Offline Posts: 2
|
Posted: 20 September 2014 at 6:00pm | IP Logged
|
|
|
I am following the instructions on http://www.afterlogic.com/wiki/Embedding_WebMail_into_your_web_application_via_IFRAME_(WebMail_Lite) to be able to integrate Webmail Lite with my Joomla installation. However I have run into the following issues:
1. I don't have an "integration" folder as the documentation mentions
2. In the last part of the documentation where it shows two sets of code, one for index.php and the other for /webmail/integration/test-iframe.php, do I use either one or both sets on my installation?
I am not a technical person so I would need a "layman" explanation. Any assistance is highly appreciated! Thanks!!!
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 22 September 2014 at 1:23am | IP Logged
|
|
|
Quote:
1. I don't have an "integration" folder as the documentation mentions |
|
|
You will need to create it for placing integration files into it. It can be named anything, "integration" is just a sample name.
Quote:
2. In the last part of the documentation where it shows two sets of code, one for index.php and the other for /webmail/integration/test-iframe.php, do I use either one or both sets on my installation? |
|
|
If you intend to use IFrame-based approach, you will need 2 files at least. One of them will be placing authentication data into session variables and display the IFrame (that's integration/index.php file in our case), while the other file (webmail/integration/test-iframe.php) is what you'll be displaying in that IFrame.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
mbsarino Newbie
Joined: 20 September 2014 Location: Indonesia
Online Status: Offline Posts: 2
|
Posted: 22 September 2014 at 9:45am | IP Logged
|
|
|
Thanks for the info. On the index.php code in the documentation there are the following lines:
$_SESSION['email'] = 'john_doe@mydomain.com';
$_SESSION['password'] = 'mypassword';
What values am I meant to replace those in the ' ' marks?
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 23 September 2014 at 1:00am | IP Logged
|
|
|
Do you mean 'john_doe@mydomain.com' and 'mypassword'? Those are supposed to be actual email and password of user account you need to log in. For this approach to work, it's required for the external application to have those data stored somewhere - probably in Joomla's user account in this case.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|