Wired Hook Problem some works, the one i need not. Bug?

I do a update of my module for sales commissions and while trying to add a new section to

/projet/element.php

via Hook

projectOverview

the hook is not called. If I add e.g.

projectcardinfo

hook from

/projet/messaging.php

things works as expected. I also tried a lowercase O

                    'hooks' => array(
                               'data' => array(
                                   'projectOverview',   // sits in projet/emelemt -> Projektübersicht context. We need 'completeListOfReferent'
                                   'projecttaskscard',
                                   'projectcardinfo',
                               ),
                            //   'entity' => '0',
                    ),

I definitely would appreciate a way to make the projectOverview work in element.php to have the sales commissions listed line by line within project overview.

I am running 19.0.2

Thank you very much.

I leave this here for others:

the execHook there is completeListOfReferent , so the Class in the Action File is not doAction. INstead it must be

public function completeListOfReferent

and all is good now.

1 Like