How to add an option in the action menu of contract module listview

Hi,

I use sugarcrm 7.6 and I want to add an option in the action menu of the contracts listview. Contracts has the old version of the user interface and I can't use the new method for 7.6 to add the options.

I try to follow this page: https://developer.sugarcrm.com/2010/11/22/howto-adding-your-own-listview-action-items/  but I can't understand where I have to put the two code files.

Please can you help me?

Thanks a lot

Stefano