Hi, i'm using roundcubemail-0.1-rc2 (i upgraded from version 0.1-beta). apparently all works ok except the icons of taskbar. I added two customized icons (vacation and change-password) but the text of icons not show, i see only the image.
My configuration for do this:
program/localization/es/labels.inc (i configured roundcube with spanish language) [...] $labels['change_password'] = 'Cambiar password'; $labels['vacation'] = 'Vacation E-mail'; [...]
skins/my-skin/includes/taskbar.html (i also configured $rcmail_config['skin_path'] = 'skins/my-skin/';) [...] <a class="button-change-password" onclick="window.open(this.href); return false" href="https://my-tool-for-change-password.html"><?php echo htmlspecialchars(rcube_label("change_password")) ?></a> <a class="button-vacation" onclick="window.open(this.href); return false" href="https://my-tool-for-vacation.html"><?php echo htmlspecialchars(rcube_label("vacation")) ?></a> [...]
Previus version of roundcube works ok with this configuration
i have been able show the text os icons with the following lines:
<roundcube:button command="change_password" label="change_password" class="button-change-password" onclick="window.open(this.href); return false" href="https://my-tool-for-change-password.html%22/%3E <roundcube:button command="vacation" label="vacation" class="button-vacation" onclick="window.open(this.href); return false" href="https://my-tool-for-vacation.html%22/%3E</a>
but when doing 'click' to the icons doesn't happen anything
Why with previus versions of roundcube works ok ? Anyone help me?
thanks _______________________________________________ List info: http://lists.roundcube.net/users/
aux wrote:
i have been able show the text os icons with the following lines:
<roundcube:button command="change_password" label="change_password" class="button-change-password" onclick="window.open(this.href); return false" href="https://my-tool-for-change-password.html%22/%3E <roundcube:button command="vacation" label="vacation" class="button-vacation" onclick="window.open(this.href); return false" href="https://my-tool-for-vacation.html%22/%3E</a>
but when doing 'click' to the icons doesn't happen anything
You should update to the svn-trunk version. There we corrected the behavior and allow custom buttons. In order to make it work you need to remove the 'command' attribute from the button-tag. Then RoundCube writes the 'href' and 'onclick' attribute right to the HTML page.
Why with previus versions of roundcube works ok ?
I don't know if and why it worked with older versions...
~Thomas _______________________________________________ List info: http://lists.roundcube.net/users/