Virtual Keyboard on RoundCube Webmail

Posted by

1. Unzip Virtual keyboard package and upload to server

2. Open /httpsdocs/mail/skins/default/templates/login.html   add

<link rel="stylesheet" type="text/css" href="keyboard/keyboard.css">
<script type="text/javascript" src="keyboard/keyboard.js" charset="UTF-8"></script>

in <head> tag

3.Open /httpsdocs/mail/program/include/rcube_template.php

Replace

$input_pass = new html_passwordfield(array('name' => '_pass', 'id' => 'rcmloginpwd')

With

$input_pass = new html_passwordfield(array('name' => '_pass', 'id' => 'rcmloginpwd', 'class' => 'keyboardInput')

4. Mod CSS ( /httpsdocs/mail/skins/default/common.css )

Replace

#rcmloginuser, #rcmloginpwd, #rcmloginhost {
width: 200px;
}

With

#rcmloginuser, #rcmloginhost {
width: 200px;
}
#rcmloginpwd{
width: 170px;
}