• Home
  • How to Support datSplat!
  • Privacy Policy
  • Terms of Use
  • Contact
datSplat!

datSplat!

RANDOM TIDBITS

  • Home
  • How to Support datSplat!
  • Privacy Policy
  • Terms of Use
  • Contact

Adding a Print Button to Roundcube Toolbar

Roundcube

How to add a print button to the toolbar of the Roundcube webmail client. The following instructions are based on Roundcube version 0.5.1 with default skin, but likely apply to other versions as well.

To modify the toolbar and add a print button to the Roundcube toolbar, add the following to ../skins/default/mail.css:

#messagetoolbar a.print {
background-position: -226px 0;
}

#messagetoolbar a.printSel {
background-position: -32px 0;
}

Add the following to ../skins/default/templates/mail.html:

<roundcube:button command="print" type="link" class="buttonPas print" classAct="button print" classSel="button printSel" title="printmessage" content=" " />

In our installation, we added it immediately after the “more actions” icon, on the far right side of the toolbar:

<roundcube:button name="messagemenulink" id="messagemenulink" type="link" class="button messagemenu" title="messageactions" onclick="rcmail_ui.show_popup('messagemenu');return false" content=" " />
<roundcube:button command="print" type="link" class="buttonPas print" classAct="button print" classSel="button printSel" title="printmessage" content=" " />
</div>

Hope this helps!

Share the post "Adding a Print Button to Roundcube Toolbar"

  • Facebook
  • Pinterest
  • Reddit
  • Twitter
  • Bookmark
roundcube

Categories

©datSplat 2006-2021
Aedyn LLC
As an Amazon Associate, this site earns money from qualifying purchases. This money helps to support this site. Thank you for your continued support! Please note: Ideas, advice, and recipes should be used at your own risk.
Proudly powered by WordPress | Theme: Doo by ThemeVS.