Sorry Micha, the javascript snippet didn´t work at all at my login.html
Larry skin template ;) it didn´t show nothing at loginform itself nor at
full page. Any idea?
Hey Raul,
no 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
Am 09.01.2013 10:58, schrieb Raul Elenes A.:
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 listusers@lists.roundcube.nethttp://lists.roundcube.net/mailman/listinfo/users