Roundcube Community Forum

 

Is it possible to print message open in popup window

Started by mattfox27, September 25, 2010, 10:52:40 PM

Previous topic - Next topic

mattfox27

Is it simple to make it so when you print a message it opens in a pop-up instead of a new tab?

SKaero

Yes you could make a plugin that opens the print command in a new window.

mattfox27

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?

SKaero

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