$modname = 'Potentials';
$module = Vtiger_Module::getInstance($modname);
if ($module) {
$block = new Vtiger_Block();
$block->label = 'ProcessWorkflow';
$block->sequence = 2;
$module->addBlock($block);
} else {
echo "Failed to find $modname module.
";
}
Now that we have the block we create the files:
Smarty/templates/modules/Potentials/ProcessWorkflow_edit.tpl
Smarty/templates/modules/Potentials/ProcessWorkflow_detail.tpl
In //ProcessWorkflow_detail.tpl// I will put this code:
Move to next step in process
And in //ProcessWorkflow_edit.tpl// I will put this code:
You are now in Step X of the Process and you can proceed to Step Y or Step Z