Roundcube Community Forum

News and Announcements => General Discussion => Topic started by: kdsjd on August 12, 2013, 09:15:40 AM

Title: Structural Changes in Addresslist of the Addressbook
Post by: kdsjd on August 12, 2013, 09:15:40 AM
Hello RoundCubers

I develop a new theme for RoundCube. Now i want to add some Functions to the list i get from the core (<roundcube:object name="addresslist" id="contacts-table" class="listing" noheader="true" />).
Is it possible to change the structure of this addresslist without change the core itself?
If i have to change the core, where should i start at, can anyone give me a hint where i do have to search for this object in the core?

Thanks a lot, best regards
Title: Re: Structural Changes in Addresslist of the Addressbook
Post by: SKaero on August 12, 2013, 01:35:57 PM
What structural changes do you want to make?
Title: Re: Structural Changes in Addresslist of the Addressbook
Post by: kdsjd on August 12, 2013, 05:51:13 PM
Thank you for the fast reply.
I speak of changes in the generated html which will be returned by the following command in a html template:

<roundcube:object name="addresslist" id="contacts-table" class="listing" noheader="true" />

something like adding buttons to the list to manipulate the contact entries.
Title: Re: Structural Changes in Addresslist of the Addressbook
Post by: SKaero on August 13, 2013, 02:14:54 AM
That should be done by making a plugin not by modifying the container. Read about the plugin api: http://trac.roundcube.net/wiki/Doc_Plugins
Title: Re: Structural Changes in Addresslist of the Addressbook
Post by: kdsjd on August 21, 2013, 10:58:48 AM
Thanks for your Answer. That worked perfectly for me!