<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
i only changed 'maximumSelectionSize' value from 3 to 4 in
Dashboard.js (layouts/layout/modules/vtiger/resources). I made the
same change in my local vtiger and no error is showing. Also in my
online vtiger, if I create a minilist with 4 column of another
custom module, the rows are displayed correctly. Only this
particular module doesn't. I just found out that the problem is the
last field 'km percorsi' because: if I make a minilist with any
onther field of the Viaggi custom module, the layout shows correctly
but if I make a minilist with only 'km percorsi' field from Viaggi
custom module, then the layout brakes. So now I'm wondering, maybe
is there something wrong with this field and not with the widget? <br>
<br>
To create this field I used this php script: <br>
<br>
$Vtiger_Utils_Log = true;<br>
include_once('vtlib/Vtiger/Module.php');<br>
include_once('vtlib/Vtiger/Menu.php');<br>
<br>
$custom = Vtiger_Module::getInstance('Viaggi');<br>
$block = Vtiger_Block::getInstance('LBL_Viaggi_Information',
$custom);<br>
<br>
$field = new Vtiger_Field();<br>
$field->name = 'kmpercorsi';<br>
$field->label = 'km percorsi';<br>
$field->table = 'vtiger_viaggi';<br>
$field->column = 'kmpercorsi';<br>
$field->columntype = 'DECIMAL(7,2)';<br>
$field->uitype = 7;<br>
$field->typeofdata = 'I~O~7,2';<br>
$block->addField($field);<br>
<br>
I needed a float field to show the distance in kilometers, with two
decimal places (such as: 200.45 km, 56.00, and so on), I googled to
find the correct uitype and columntype but maybe I used the wrong
ones..<br>
<br>
<br>
<br>
<br>
<br>
<div class="moz-cite-prefix">On 08/05/2015 13:44, Uma S wrote:<br>
</div>
<blockquote
cite="mid:CAH83UoJKFLWWMRL1thrTrnJc0b6ciRUwZ1dakobpHHJryCxdrg@mail.gmail.com"
type="cite">
<div dir="ltr">Hi,
<div><br>
</div>
<div>In mini-list widget we can only include only two column,
but in the screen-shot attached by you we can find four
columns. I hope you have some customization of code to include
four columns. Please do confirm on this.</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Fri, May 8, 2015 at 3:00 PM, lucia
digirolamo <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:l.digirolamo@websonica.net" target="_blank">l.digirolamo@websonica.net</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">hi, I
created a minilist to show my custom module in homepage. It
works but the list item are all disalligned. Moreover, the
widet has a fixed hight but there is no scrollbar, instead
all the rows are listed, so the rows extends the widget (I
attached a screenshot of my widget). How can I correct all
these layout error? Thanks<br>
<br>
_______________________________________________<br>
<a moz-do-not-send="true" href="http://www.vtiger.com/"
target="_blank">http://www.vtiger.com/</a><br>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div class="gmail_signature">
<div dir="ltr">With<br>
Best Regards<br>
Uma.S<br>
<div>Vtiger Team</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
<a class="moz-txt-link-freetext" href="http://www.vtiger.com/">http://www.vtiger.com/</a></pre>
</blockquote>
<br>
</body>
</html>