Roundcube Community Forum

News and Announcements => General Discussion => Topic started by: mattfox27 on September 25, 2010, 10:52:40 PM

Title: Is it possible to print message open in popup window
Post by: mattfox27 on September 25, 2010, 10:52:40 PM
Is it simple to make it so when you print a message it opens in a pop-up instead of a new tab?
Title: Is it possible to print message open in popup window
Post by: SKaero on September 26, 2010, 03:33:15 AM
Yes you could make a plugin that opens the print command in a new window.
Title: Is it possible to print message open in popup window
Post by: mattfox27 on September 26, 2010, 03:38:29 AM
I don't know how to make plugins :(
would it be easy?  Im new to PHP programming.  Is there anyway to add a javascript popup to the button link or something like that?
Title: Is it possible to print message open in popup window
Post by: SKaero on September 26, 2010, 03:52:33 AM
All the php part would do would be include the JavaScript file witch could then alter the print command to open in a new window. You could take a look at compose in new window plugin to get an idea of what it would look like: http://www.roundcubeforum.net/7-third-party-contributions/46-api-based-plugins/6259-compose-new-window.html