<div dir="ltr">developer numeric code instead of prefix. I guess 4 digits is enough?<div><br></div><div>Stacey</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Nov 21, 2014 at 3:13 PM, Alan Lord <span dir="ltr"><<a href="mailto:alanslists@gmail.com" target="_blank">alanslists@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 20/11/14 13:17, IT-Solutions4You wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi to all developers ;-)<br>
<br>
I see huge activity last days, we are happy with it. But I have a<br>
please, can we keep the basic Coding Guidelines defined by vtiger team<br>
to avoid compatibility problems in the future.<br>
</blockquote>
<br>
+1.<br>
<br>
This is even more important now we have the extension store and multiple providers of similar modules.<br>
<br>
On this subject is something I've been meaning to discuss for a while now...<br>
<br>
Could vtiger/us also look at the way picklist tables are generated for some future release please?<br>
<br>
Right now, if I used vtlib to create a new UIType 15 or 16 field - let's call it "type", it creates a table called vtiger_type to hold the picklist values...<br>
<br>
Now my module's basetable may well be called libertus_lsmymodule.<br>
<br>
Right now I have to prefix my field name with not only "ls" to signify it's one of ours, but also, when we are talking about a common field name for picklists such as "status" or "type", an indication of the module name it is for - if it is exclusive.<br>
<br>
So my field ends up being called something like 'lsmymod_type' which vtiger then ends up creating a table called vtiger_lsmymod_type.<br>
<br>
In a few cases where we have had more descriptive field names I have run into problems with the length of the table name - which is limited in the vtiger code IIRC.<br>
<br>
I think it would be helpful if the picklist tables could be prefixed with the same prefix as the original module so our picklists would typically start with libertus_ rather than vtiger_...<br>
<br>
Or maybe someone can up with a better solution for picklists?<br>
<br>
Cheers<br>
<br>
Al<br>
<br>
<br>
______________________________<u></u>_________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br>
</blockquote></div><br></div>