Hey Raul,
not that easy. You need to tweak the file
./program/include/rcube_template.php in the function login_form
from line 1128 on. But would not recommend this.
Probably way easier (if the login host you configured is static)
is to insert a small JavaScript snippet into the login.html you already found (just above the closing
</body> tag):
<script type="text/javascript">
$(function(){
$('#rcmloginuser')
.css('width','70%')
.wrap('<div/>')
.after('<span style="color:
#CECECE;margin-left:8px;">@mydomain</span>');
});
</script>
These style rules work somewhat with larry skin. You need to
adjust width (depending on how long "@mydomain" is) and color
(depending on skin).
Michael
Hello:
Any help will be very useful for me too.
Thanks in advance.
Con fecha 9/1/2013, "Raul Elenes A." <raulelenes@gmail.com> escribió:
>Hi ya, I'm trying to customize loginform.html template file to include
>@mydomain besides a smaller input username field. Obviously I want the
>users only enter de username part of their full email addresses. I
>previously configured main.inc.php to do this properly.
>
>The issue is, the html file include this code to deploy the full form
>fields as an object:
>
><roundcube:object name="loginform" form="form" size="40" />
>
>and didn´t find how to modify it as mentioned.
>
>This is the layout wanted:
>
>[image: Inline image 1]
>
>Thanks in advance for your help!
_______________________________________________
Roundcube Users mailing list
users@lists.roundcube.net
http://lists.roundcube.net/mailman/listinfo/users