Author |
|
denis Newbie
Joined: 15 June 2015 Location: Italy
Online Status: Offline Posts: 16
|
Posted: 15 June 2015 at 2:03pm | IP Logged
|
|
|
I would like to create a plugin for address book migration from an old squirrelmail to your php webmail pro
I'd like to
- create a link in the top menu "Import old AB"
- on click open a page to get some user info
- on post connect to the old db, read the contacts and save them in your db
- at the end send response to the client
Do you have some snippets of code that could help me to develop it?
I think it could be a usefull plugin for all...
thanks
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 16 June 2015 at 12:35am | IP Logged
|
|
|
While we don't seem to have samples which cover the entire idea, the following might help:
The last item should help with displaying dynamic content within WebMail interface.
Also, we're currently in process of releasing complete API reference for the product, and some new APIs will be out along with upcoming 7.6 release.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
denis Newbie
Joined: 15 June 2015 Location: Italy
Online Status: Offline Posts: 16
|
Posted: 17 June 2015 at 8:05am | IP Logged
|
|
|
Ok, I was able to implement many of the steps in my plugin
Is it possible to use afterlogic libraries to connect to an external mysql db from within the plugin? Can you give me a little snippet of code
And is it possible to add a tab to the left menu of the "Contacts page" (I've seen a sample that adds a tab to the Settings page)
Thanks for your support
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 17 June 2015 at 8:15am | IP Logged
|
|
|
Quote:
Is it possible to use afterlogic libraries to connect to an external mysql db from within the plugin? Can you give me a little snippet of code |
|
|
Honestly, not sure why that would require using our libraries as you can do that with plain PHP.
Quote:
And is it possible to add a tab to the left menu of the "Contacts page" (I've seen a sample that adds a tab to the Settings page) |
|
|
Currently we only have samples for adding tab in main menu and in Settings area.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
denis Newbie
Joined: 15 June 2015 Location: Italy
Online Status: Offline Posts: 16
|
Posted: 22 June 2015 at 3:10pm | IP Logged
|
|
|
ok, I've done the plugin and it works like a charm
When do you plan to release the 7.6 version?
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 22 June 2015 at 3:35pm | IP Logged
|
|
|
We expect to have it released in about a week.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|