I am trying to Achieve Quotes Module Read only view for its Detail View by using custom entry point.
Entry Point is defined as
$entry_point_registry['quoteReadonly'] = array(
'file' => 'custom/modules/AOS_Quotes/readonly.php',
'auth' => false
);
This leads to creating files in module folder like readonly.php and need to have custom tpl file. Some of the snippet looks like
require_once('include/MVC/View/SugarView.php');
$view= new SugarView();
$view->init();
$view->displayHeader();
$sugar_smarty = new Sugar_Smarty();
........................
.........................
$sugar_smarty->display('custom/modules/AOS_Quotes/readonlytpl');
$view->displayFooter();
Is there any other way so that a View is mapped to Custom Entry Point and that generates DetailView readonly using detailviewdefs.php or readonlydefs.php?