Author Topic: Add new button to addressbook  (Read 3149 times)

Offline duyn

  • Newbie
  • *
  • Posts: 2
Add new button to addressbook
« on: September 17, 2009, 11:22:18 AM »
Hi all,
I am migrating address book from horde to roundcube. I have a script called
migrate.php to do the job. I would like to make a button (i.e. next to the
'export contacts in vCard format) that will execute the migrate.php. I have
the button up. I add

importhorde" classAct="button importhorde" classSel="button importhorde"
title="importhorde" content=" " />

to skins/templates/addressbook.html

1. How can I make the script running when the button is clicked ?

2. How can I change the icon/images of the button ? It uses the same image
as the 'Add new contact'

Thank you.