Page 10 - Blog
-
- September 05, 2013Create default widget for vtigerYou change happen in following files
modules/Users/Users.php modules/Users/language/en_us.lang.php modules/Home/language/en_us.lang.php include/Home.phpStep 1want to see your widget in your home page you follow this step.Add your widget identifier to $homeorder_array in Users.php search "$homeorder_array"I added 'SOLD'var $homeorder_array = array('HDB','ALVT','PLVT','QLTQ','CVLVT','HLT','OLV','GRT','OLTSO','ILTI','MNL','OLTPO','LTFAQ', 'UA', 'PA', 'SOLD');Do the same in the function getHomeStuffOrder($id) function$this->homeorder_array = array('UA','PA','ALVT','HDB','PLVT','QLTQ','CVLVT','HLT','GRT','OLTSO','ILTI','MNL','OLTPO','LTFAQ','SOLD');The above will allow vtiger to pull the widget into your myprefrecnes view so you can select to make visibleStep 2:Adding language file to how you look like add line in these files modules/Users/language/en_us.lang.php modules/Home/language/en_us.lang.php search using "Home page order" and add like -
- September 05, 2013
Workflow model in vTigercrm how to create custom workflow.
It have simple steps to follow to make custom workflow.Step1:create one new file (registerworkflow.php) to register workflow in ur vTiger root .add all these line in that file.