I understand how to use a plugin to alter classes in program/lib/Roundcube/, but I'm not sure where to start in changing functionality present in locations such as program/steps/addressbook/func.inc. Can someone point me in the right direction?
For more context, I'm starting with the sql_global_addressbooks plugin (from
https://github.com/t3chguy/Roundcube-SQL-Global-Address-Books) but I need to add additional contact fields that aren't part of the original spec (this is for a medical practice, so I need to add fields like "responsible party, insurer, etc" that I'll be pulling from the DB. Those field definitions seem to be in func.inc.
I also need to change how those fields display on the contact form, and that seems to be handled by program/steps/addressbook/show.inc; I need to alter a) the items present in "contacthead" that gets called by the skin, and b) add labels like "Insurer:" before the actual insurer.
Any guidance would be greatly appreciated! If there are plugins doing similar alterations already, having those examples would be wonderful as well.
Thanks!