<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Dear Alan,<br>
<br>
You can use the method adding fields to the Contact module descried in
the VTLIB (Payslip module).<br>
Creating a php code you can direct the field to the table where you
want to appear using method:<br>
<br>
// Get module instance<br>
$moduleInstance = Vtiger_Module::getInstance('Contacts');<br>
// Get block instance<br>
$blockInstance = Vtiger_Block::getInstance('the wanted block',
$moduleInstance);<br>
<br>
when creating a user filed:<br>
$field-&gt;table = $moduleInstance-&gt;basetable; <br>
<br>
Or in other table.<br>
<br>
I am sure this method will resolve your problem.<br>
<br>
Cheers:<br>
<br>
<div class="moz-signature">Holbok Istv&aacute;n<br>
telefon: +3670-342-0900<br>
e-mail: <a href="mailto:holbok@gmail.com">holbok@gmail.com</a><br>
<b></b><br>
</div>
<br>
2010.06.28. 16:33 keltez&eacute;ssel, Alan Lord (News) &iacute;rta:
<blockquote cite="mid:i0abru$kn1$1@dough.gmane.org" type="cite">On
28/06/10 11:07, Prasad wrote:
  <br>
  <blockquote type="cite">Hi Alan,
    <br>
    <br>
Please review the sequence values in vtiger_field for the Contacts
    <br>
module (tabid can be obtained from vtiger_tab)
    <br>
  </blockquote>
  <br>
OK - I did a quick SELECT and ORDER BY block &amp; sequence to see what
was going on.
  <br>
  <br>
It seems as though the sequence number is correct and is in the right
block but, if the field is from vtiger_contactsubdetails then they will
not display on the main tab - only on the more information tab. This is
despite having the SinglePane view enabled. This doesn't seem to apply
to the Create Views unfortunately.
  <br>
  <br>
I thought about creating some new custom fields with the same label
names and turning off the orginals so I could simply replace them, but
I cannot have duplicate label names even if the field is not active.
  <br>
  <br>
I've (hopefully) attached a spreadsheet (ODS) with the sequence values
and would appreciate any thoughts on how to resolve this.
  <br>
  <br>
Cheers
  <br>
  <br>
Alan
  <br>
  <br>
  <br>
  <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Join vtiger community at <a class="moz-txt-link-freetext" href="http://forums.vtiger.com">http://forums.vtiger.com</a></pre>
</blockquote>
</body>
</html>