<div dir="ltr">Holbok,<div><br></div><div>This code present around line 125,in editviewblocks.tpl is reponsible for generating the respected fields based on types.</div><div><br></div><div>{include file=vtemplate_path($FIELD_MODEL->getUITypeModel()->getTemplateName(),$MODULE) BLOCK_FIELDS=$BLOCK_FIELDS}<br>
</div><div><br></div><div>Have you tried adding a .tpl for your custom module under vtiger_root/layouts/vlayouts/custom_module_name/uitype/field_type/</div><div><br></div><div>For more information on uitypes look at <a href="https://wiki.vtiger.com/index.php/UI_Types">https://wiki.vtiger.com/index.php/UI_Types</a></div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 22, 2014 at 2:58 AM, Holbok István <span dir="ltr"><<a href="mailto:holbok@gmail.com" target="_blank">holbok@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
Dear Vtiger Community,<br>
<br>
The field behaviors are regulated through different settings of the
vtiger field: uitype, readonly, presence, etc.<br>
<br>
A field with uitype = 3 is a readonly field (independent from the
readonly settings) and will appear on the Record Detail View page or
in the Summary page if it was set.<br>
But this field with uitype = 3 will not appear in the Editview.<br>
<br>
I tried to set uitype = 1 and readonly = 0, but this settings did
not create a Read-Only field.<br>
With uitype = 1 the field will appear in the Editview, but
unfortunately the field is editable, even the readonly is 0.<br>
<br>
I need some real readonly fields in the Editview - for information
purposes - to show, but make them non-editable.<br>
<br>
Is there any built in settings to do it?<br>
<br>
Or need I to rewrite the .tpl file to handle this demand?<br>
<br>
Kindest regards:<br>
István<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
<div>-- <br>
üdvözlettel:<br>
<br>
<b>Holbok István</b><br>
<br>
+3670-342-0900<br>
<b>e-mail:</b> <a href="mailto:holbok@gmail.com" target="_blank">holbok@gmail.com</a><br>
<b>SkyPe:</b> holboki<br>
<br>
</div>
</font></span></div>
<br>_______________________________________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br></blockquote></div><br></div>