[dev] How can i change login template to have this functionality?

Jan Schneider jan at horde.org
Mon May 26 15:52:39 UTC 2008


Zitat von Ali Nebi <anebi at iguanait.com>:

> Hi,
>
> i would like to ask you how can i change login page to do this
> functionality on version 1.1?
>
> What i want to do is this:
>
> We are accessing horde this way: mail.domainname.com
>
> and what we are doing right now is on url to put this:
> login.php?vhost=domainname
>
> and in login page where is username field is showing _domainname.
>
> Username in our imap and postfix installation looks this way.
> username_domainname_com. What we have done in version 1.0 is this. When
> o i type for example: anebi, java script automatically put
> domainname_tld to anebi in the field. It takes this name from
> $_GET['vhost'].

This is exactly what the vinfo hook in IMP is for.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the dev mailing list