Customize roundcube

Paul Bronson signaldeveloper at gmail.com
Mon Mar 13 05:20:23 CET 2017


How do I do that? I've never made a plugin...


Paul

> On Feb 5, 2017, at 5:04 PM, Daniel Hoffend <dh at dotlan.net> wrote:
> 
> Hi
> 
> You can't do this by using php code in the config.php cause the session isn't
> initialized at this point.
> 
> It looks like you've to create a minimal plugin which then can hook into
> various things using plugin hooks to activate stuff after the session has been
> initialized or the user has just logged in.
> 
> --
> Daniel
> 
> Am 2017-02-02 04:39, schrieb Paul Bronson:
>> I tried this, it didn't work :(
>> Paul
>>>> On Apr 13, 2016, at 3:54 AM, Timotheus Pokorra <timotheus at kolab.org> wrote:
>>>> Hello Paul,
>>>> I have a shared kolab install and I want to do some branding based on the
>>>> domain in the interface.
>>> I guess this is more a Roundcube specific question.
>>> I found this on the web:
>>> http://www.roundcubeforum.net/index.php?topic=15305.0
>>> I think this idea mentioned there to use the config file makes most sense:
>>> if (strpos($_SESSION['username'], '@domain1.tld'))
>>>   $rcmail_config['skin_logo'] = 'path/to/logo/file1';
>>> else if (strpos($_SESSION['username'], '@domain2.tld'))
>>>   $rcmail_config['skin_logo'] = 'path/to/logo/file2';
>>> I have not tried it though.
>>> all the best,
>>> Timotheus
>>> _______________________________________________
>>> users mailing list
>>> users at lists.kolab.org
>>> https://lists.kolab.org/mailman/listinfo/users
>> _______________________________________________
>> users mailing list
>> users at lists.kolab.org
>> https://lists.kolab.org/mailman/listinfo/users


More information about the users mailing list