pgr
6
Ok, so instead of a logic hook let’s go with an override of the View class:
Also, have a look at the links inside that thread.
For background information you have the Developer Guide:
Typical chapters you will want to read are the ones about the Extension Framework, Working with Beans, Logic Hooks.