I set up the relationships.ini for project_mstr as follows:
- Code: Select all
[Agreements]
project_agreements.pa_project_id = "$pm_project_id"
What is curious is, when I implement certain block__ methods within the delegate class for the child table (in this case, project_agreements) - they don't seem to be invoked. However when I implement them for the parent table (in this case, project_mstr), it works as designed.
Specifically, I'm trying to set up the block__custom_javascripts() block. Some sample code:
- Code: Select all
function block__custom_javascripts()
{
echo '<script src="js/myjavascript.js" type="text/javascript" language="javascript"></script>';
echo 'STOPPING THE RESPONSE NOW';
exit;
}
For the parent table, the browser shows "STOPPING THE RESPONSE NOW" but for the child table the browser paints the page as if the method was not implemented at all.
Is there another way I should be including my child-table specific javascripts?