Hello all,
I have created custom module in sugarCRM. I need to create custom view for that custom module list view using custom query.
For that process,inside cuatom module views folder i have created view.customlistmodule.php.
I need to call customlistviewdefs.php inside view.customlistmodule.php and also need to call custom query for list view
My code in view.customlistmodule.php. as follows:
Please Help me if u know the answer.PHP Code:if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
require_once('include/MVC/View/views/view.list.php');
class Viewlistnewform extends ViewList {
var $type = 'listnewform';
var $useForSubpanel = false;
var $useModuleQuickCreateTemplate = false;
var $showTitle = true;
function Viewlistnewform() {
$this->lv->edit = false;
$this->lv->showMassupdateFields=false;
$this->lv->delete=false;
$this->lv->export=false;
parent::ViewList();
}
function listViewPrepare() {
$this->type = "listnewform";
parent::listViewPrepare();
}
function processSearchForm() { }


LinkBack URL
About LinkBacks



Reply With Quote

Bookmarks