Hi there,
i cant make a link to work from a addon i have the follwing addon html :
public function bpro_finalize($record) {
print('
<a '.$this->create_callback_href('Base_BoxCommon::push_module', array('TPN_SalesManagementCommon', 'handleFromProspecting', array("completed", $record["id"], $record["client"]))).' class="button">
<img src="data/Base_Theme/templates/default/Base/ActionBar/icons/collapse_big.png">
<div style="display:inline-block;position:relative;top:-4px">
Completed
</a>');
}
My common as follows:
public static function handleFromProspecting($type, $id, $client){
$rs = new TPN_SalesManagement_BComSProdEmail();
$this->rb = $rs->create_rb_module($this, 'Completed_Business');
$custom_defaults = array('client'=>$client);
$this->display_module($this->rb, array('add', null, $custom_defaults), 'view_entry');
}
But when i click on the link it renders blank page... Any ideas? Thank you