Author |
|
system_faliure Newbie
Joined: 19 June 2015 Location: Italy
Online Status: Offline Posts: 2
|
Posted: 21 June 2015 at 8:32am | IP Logged
|
|
|
Hello,
I have to add in the webmail a custom JavaScript that has to appear on the left side of the webmail, under the mail folders, but when I edit the right .html file (templates/views/Mail/FolderListViewModel.html) the HTML script tags just appears as plain text.(<script type="text/javascript"> etc..)
If I try instead to add an image or an iframe everything work without problems.
I read on the wiki that maybe plugins has to be used for this, but I don't understand how to write a plugin that is able to read and show JavaScripts on the page.
So, is there any 'specific' procedure for doing this?
Looking forward to a reply,
Thanks in advance
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 22 June 2015 at 4:34am | IP Logged
|
|
|
There's a couple of examples for using JavaScript in plugins, see here and here.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
system_faliure Newbie
Joined: 19 June 2015 Location: Italy
Online Status: Offline Posts: 2
|
Posted: 25 June 2015 at 4:37am | IP Logged
|
|
|
I managed to add my script writing a plugin that displays an iframe.
Thanks
|
Back to Top |
|
|