[Vtigercrm-commits] [Vtiger development] #8226: Leads by Industry re-calibration

Vtiger development vtiger-tickets at trac.vtiger.com
Mon Oct 20 05:42:22 GMT 2014


#8226: Leads by Industry re-calibration
-------------------------+------------------------
 Reporter:  alderton     |       Owner:  developer
     Type:  enhancement  |      Status:  new
 Priority:  minor        |   Milestone:  6.2.0
Component:  vtigercrm    |     Version:  6.1.0 ea
 Severity:  Medium       |  Resolution:
 Keywords:               |
-------------------------+------------------------

Comment (by rishab):

 Workaround:

 The width and height of Widgets can be modified by making appropriate
 changes in

 /vtiger_root/modules/Vtiger/Models/Widget.php :

 adding 'leadsByIndustry' to array of Widgets with currently have a Width
 of 6

 {{{
 public function getWidth() {
                 $largerSizedWidgets = array('GroupedBySalesPerson',
 'PipelinedAmountPerSalesPerson', 'GroupedBySalesStage', 'Funnel
 Amount','LeadsByIndustry');
                 $title = $this->getName();
                 if(in_array($title, $largerSizedWidgets)) {
                         $this->set('width', '6');
                 }
 }}}

--
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/8226#comment:1>
Vtiger development <http://trac.vtiger.com/>
Vtiger CRM


More information about the vtigercrm-commits mailing list