Extend results on SQS_object

to extend the results on all relate fields on sugarcrm or SuiteCRM. for the moment add a new custom logic hook for after_ui_frame.

$hook_array['after_ui_frame'][] = Array(5, 'Change SQS result records', 'custom/modules/Opportunities/logic_hooks/changeSQSRecordCount.php','changeSQSRecordCountC','changeSQSRecordCountF');

 

This will allow you to display content onto the page before the page loads.

class changeSQSRecordCountC
{
function changeSQSRecordCountF()
{
echo "<script language='javascript'>YAHOO.widget.AutoComplete.prototype.maxResultsDisplayed=20;</script>";
}
}

 

this changes the results to 20 instead of 10..