<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif">What we have managed to learn about the different display types (after looking at the limited documentation, and years of working on vTiger!) are that these are the different types:</div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif"><div>1 - Displayed both in Detail view and Edit view</div><div>2 - Displayed only in the Detail view (Ex. Created time, Modified time)</div><div>3 - It is not displayed both in DetailView and EditView,but can be shown in ListView</div><div>Example: Total, subtotal in Invoice Module. These Fields are not tied to any block.</div><div>4 - Added for handling passwords.</div><div>5 - used for Inventory/LineItem Fields (so they don't show as a normal field in a block)</div><div>6 - used for 'Starred' fields only (only show on List View and as separate button on Detail View)</div><div><br></div><div>Defining these as constants with descriptive names would be AWESOME!!<br>Same for ui_type, </div><div>but also presence (which has 3x possible values) which we've worked out as below:</div><div><br></div><div><div>0 = displayed & <span style="font-weight:bold">cannot</span> be hidden via CRM Settings</div><div>1 = hidden & can be displayed via CRM Settings</div><div>2 = displayed & can be hidden via CRM Settings</div></div><div><br></div><div>What about event types too? (stops all this 'vtiger.entity.beforesave' nonsense, and by defining them IDE's can handle them better and indicate errors etc)</div></div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><p style="font-size:12.8px;color:rgb(80,0,80)"><span style="color:navy;font-family:Verdana,sans-serif;font-size:10pt">Martin Allen</span></p><p style="font-size:12.8px;color:rgb(80,0,80)"><b style="font-size:12.8px"><span lang="EN-US" style="font-size:10pt;font-family:Verdana,sans-serif;color:rgb(51,51,153)">01392 248692 - Main Office<br>01392 690659 - Direct Line</span></b><br></p><p style="font-size:12.8px;color:rgb(80,0,80)"><b><span style="font-size:10pt;font-family:Verdana,sans-serif;color:rgb(51,51,153)"><img width="288" height="65" src="cid:image001.png@01CFC1D6.1BCFF790" alt="signature2"></span></b><span style="color:rgb(31,73,125)"></span></p><p style="font-size:12.8px;color:rgb(80,0,80)"><span lang="EN-US" style="font-size:10pt;font-family:Verdana,sans-serif;color:navy">Have you visited our website recently? <a href="http://www.clystnet.com/" style="color:rgb(17,85,204)" target="_blank">https://www.clystnet.com</a></span><span style="color:rgb(31,73,125)"></span></p><p style="font-size:12.8px;color:rgb(80,0,80)"><span lang="EN-US" style="font-size:10pt;font-family:Verdana,sans-serif;color:navy"><br></span><span lang="EN-US" style="font-size:10pt;font-family:Verdana,sans-serif;color:rgb(153,153,153)">The information in this email is confidential If you are not the intended recipient, you must not read or use that information. This email and any attachments are believed to be virus free however no responsibility is accepted by Clystnet for any loss or damage arising in any way from receipt or use thereof. Clystnet Ltd (company reg number 7164503) is based at Silverdown Park, Fair Oak Close, Clyst Honiton, EX5 2UX</span></p></div></div></div></div></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 12 Nov 2020 at 01:03, Rubén A. Estrada Orozco <<a href="mailto:rulotec1@gmail.com">rulotec1@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">there are, as far as I can see, 6 displaytypes (1 - 6) for fields.<div><br></div><div>What are they supposed to mean?</div><div><br></div><div>If you look into Vtiger_Field_Model you'll see code like this:</div><div><br></div><div><div><img src="cid:ii_khe4ktco0" alt="image.png" style="margin-right: 25px;"><br></div></div><div><br></div><div>Why don't we use constants to give them meaningful names?</div><div><br></div><div>the same goes for uitypes. </div><div><br></div><div>It's just frustrating.</div><div><br clear="all"><div><div dir="ltr"><div dir="ltr">Saludos<div><br></div><div>Rubén</div></div></div></div></div></div>
_______________________________________________<br>
<a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a></blockquote></div>