Roundcube Community Forum

 

dropdown email address

Started by Tonyrc, October 17, 2008, 09:26:15 AM

Previous topic - Next topic

Tonyrc

I would like to change the RC login page to have a dropdown menu of all our domain email addresses. Been looking at ..config/main.inc.php (which I think is the file I need to change!) but cannot get it to work. I base this on the fact that I had a dropdown for the domain in this file, which I have now removed as it is no longer required. Can somebody please tell me where to make this change and insert an Array of email addresses.
(i.e. array="[email protected]","[email protected]")
P.S. I have a frontend html that does this OK, but, some browsers don't except the cookies from that page and the RC login page comes up requiring the input again and it would be nice to have it there for when we log out of one account to go to another.

Thanks in advance for any help

bpat1434

There is no "non-hack" way to do this.  You'd have to hack the source to get the drop-down working as you expect.  I'm not entirely sure it's worth the effort.

You might be able to use some slick javascript to change it ;)

BTW... the following html form works for me:











Same thing with this form...











Hope that helps...
 
 

Tonyrc

I have already created a webpage to do my mail login, it works fine and always has,
see it here Email Login

but because some browsers don't allow cookies
and
when we logout we get the RC login page

I would like to take the dropdown menu (username/email address) on my html page and plug it into the RC code.

Thanks for your reply