Roundcube Community Forum

 

Change autocomplete source

Started by wueb, August 30, 2012, 04:25:01 AM

Previous topic - Next topic

wueb

Is possible to change the autocomplete source on the "To:" field when i'm writing a new message.

I mean, instead the source be the roundcube adress book, i would like to be something from another personal table i have on the database.

Thanks.

alec

You need to create a plugin. See example_addressbook plugin.

wueb


wueb

One more thing.

On the example_addressbook the constructor only have 1 parameter

public function __construct($name)

I want to change the static arrays from the example to dynamic values from mine database, but i think i would need the $dbconn parameter on the constructor to access the database. How can i do it?