I have configured a field collection field (unlimited items) for a content type and I want create a confirm popup when user delete an item.
For this, i found that i can directly go and modify 2 functions in the field_collection.pages.inc
file. They are:
1. field_collection_item_delete_confirm
2. field_collection_item_delete_confirm_submit
I’m a newbie in drupal so I don’t know how to use these function from the field_collection.pages.inc file, I tried to hook these function in template.tpl
file but it’s didn’t work. Can someone help me ? Sorry about my English.