Hi,
At the moment, my RC installation ask the user to provide "Username" and "Password" during the login. Can this be changed to "eMail-Address" and "Password"? The login already works with provided either one of these two, so I would just like to change the label itself, nothing else.
Thanks Konrad
Hello Konrad
This simplest way to achieve this is to modify the localization file(s) and change the value for $labels['username']. This change however, has be repeated after every update of Roundcube and should be applied with a patch file. A more complication approach is to create a custom skin which replaces the login.html template. The downside here is, that the login form itself is created by an internal function and would need to be re-built by hand inside that login template. See https://github.com/roundcube/roundcubemail/wiki/Skins for details about this.
Best, Thomas
On Sat, Jul 21, 2018 at 11:48 AM forum.news@gmx.de wrote:
Hi,
At the moment, my RC installation ask the user to provide "Username" and "Password" during the login. Can this be changed to "eMail-Address" and "Password"? The login already works with provided either one of these two, so I would just like to change the label itself, nothing else.
Thanks Konrad _______________________________________________ Roundcube Users mailing list users@lists.roundcube.net http://lists.roundcube.net/mailman/listinfo/users
Hi Thomas,
Appreciate your quick feedback!
I already tweaked the localization files for German and English, so I'm good for now. I was just wondering if there is a more simple solution. Creating a custom skin seems a bit overkill for just changing one string, but thanks for the hint ;-)
Konrad
Am 21.07.2018 um 16:23 schrieb Thomas Bruederli:
Hello Konrad
This simplest way to achieve this is to modify the localization file(s) and change the value for $labels['username']. This change however, has be repeated after every update of Roundcube and should be applied with a patch file. A more complication approach is to create a custom skin which replaces the login.html template. The downside here is, that the login form itself is created by an internal function and would need to be re-built by hand inside that login template. See https://github.com/roundcube/roundcubemail/wiki/Skins for details about this.
Best, Thomas
On Sat, Jul 21, 2018 at 11:48 AM <forum.news@gmx.de mailto:forum.news@gmx.de> wrote:
Hi, At the moment, my RC installation ask the user to provide "Username" and "Password" during the login. Can this be changed to "eMail-Address" and "Password"? The login already works with provided either one of these two, so I would just like to change the label itself, nothing else. Thanks Konrad _______________________________________________ Roundcube Users mailing list users@lists.roundcube.net <mailto:users@lists.roundcube.net> http://lists.roundcube.net/mailman/listinfo/users
Roundcube Users mailing list users@lists.roundcube.net http://lists.roundcube.net/mailman/listinfo/users