[Vtigercrm-commits] [vtiger development] #4691: unwanted dots(...) in home page components
vtiger development
vtiger-tickets at trac.vtiger.com
Sat Dec 15 05:17:05 EST 2007
#4691: unwanted dots(...) in home page components
------------------------+---------------------------------------------------
Reporter: mangai | Owner: developer
Type: defect | Status: new
Priority: major | Milestone:
Component: vtigercrm | Version: 5.0.4
Resolution: | Keywords:
------------------------+---------------------------------------------------
Comment (by mangai):
'''Solution given for Key Metrics'''
In modules/CustomView/ListViewTop.php, change the following line(@ line no
:115)
'''$value[]='<a
href="index.php?action=ListView&module='.$metriclist['module'].'&viewname='.$metriclist['id'].'">'.substr($metriclist['name'],0,20).'...'.'</a>';'''
to
'''$CVname = (strlen($metriclist['name']) > 20) ?
substr($metriclist['name'],0,20).'...' : $metriclist['name'];'''
'''$value[]='<a
href="index.php?action=ListView&module='.$metriclist['module'].'&viewname='.$metriclist['id'].'">'.$CVname.'</a>';'''
Same way we need to fix for other entries also.
--
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/4691#comment:1>
vtiger development <http://trac.vtiger.com/>
vtigerCRM
More information about the vtigercrm-commits
mailing list