Roundcube Community Forum

Third Party Contributions => API Based Plugins => Topic started by: k4200 on August 14, 2011, 07:25:37 AM

Title: Address book with sub groups
Post by: k4200 on August 14, 2011, 07:25:37 AM
Hi there,

I'm working on an address book plug-in, and want to have sub groups. For example, the top level would have Branch A, B ..., the second level would have Sales Dept., Development Dept. and so on. How would you achieve this? I searched in the forum, but couldn't find much information.

Thanks
Title: Re: Address book with sub groups
Post by: gaspare_novara on December 03, 2012, 07:33:31 AM
Your plugin does this? you released this plugin? where can I find it?
Title: Re: Address book with sub groups
Post by: k4200 on December 03, 2012, 08:09:02 AM
I don't remember what I did exactly, but here is the summary:

- Copy example_addressbook plugin and rename it. e.g. foo_addressbook
- Implement foo_addressbook_backend, which extends rcube_addressbook
    - list_records returns addresses under the selected item.
- Modify CSS and html so nested groups are displayed with some space on the left.

Sorry for not giving much information. I did it for a commercial product, and it was more than a year ago.