I have overridden the standard "View" of the Account detail page with a custom Visualforce page. When I need to display the Account detail page, I use the "nooverride=1" parameter in the URL to display it and bypass the override.
I have also overridden Salesforce’s standard Delete link in a Related List of the Account detail page, by creating a second Visualforce page.
The problem I am having is, when I clicked the overridden Delete link in the Related List, the second Visualforce page is never called. The standard Salesforce Delete was called instead. I think this is happening because the Account Detail page was displayed with the “nooverride=1" parameter. Thus, no overrides were allowed (and my overridden Delete link in the Related List was not called).
Can someone give me some pointers as to how to call the overridden Delete link on a Related List, when the Delete link is clicked? Any help would be greatly appreciated!