[Vtigercrm-developers] uitype 10 - value not displaying
Richard Hills
richard at tw.co.nz
Mon Feb 4 12:52:48 PST 2013
Your integer change was an obvious one and I have now made this, have
also tested with lowercase earlier (also with the change). Neither of
these steps has made a difference.
Thanks
On 05/02/13 09:38, Adam Heinz wrote:
> For uitype 10, I use:
>
> $field->columntype = 'INTEGER'
> $field->typeofdata = 'I~O';
>
> Is field name allowed to be mixed case?
>
>
>
> On Mon, Feb 4, 2013 at 3:32 PM, Richard Hills <richard at tw.co.nz
> <mailto:richard at tw.co.nz>> wrote:
>
> Hi all.
>
> I am setting up a basic vtlib module which has a relation requirement
> between an existing module.
>
> > $field new Vtiger_Field();
> > $field->name = 'RelatedTo';
> > $field->label = 'Related To';
> > $field->table = 'vtiger_module2';
> > $field->column = 'relatedto';
> > $field->columntype = 'VARCHAR(255)';
> > $field->uitype = 10;
> > $field->typeofdata = 'V~O';
> > $field->helpinfo = 'Relate to an existing orchard';
> > $field->masseditable = 0;
> > $block->addField($field);
> > $field->setRelatedModules(Array('Module1'));
>
> This all works file and the values are saved correctly. However
> when in
> edit, list and detail mode the value of "relatedto" is empty.
>
> I was wondering if anyone could point out what my problem is
> likely to be?
>
> Thanks
>
> --
> Richard Hills
> TechnologyWise Ltd, Tauranga, NZ
> richard at tw.co.nz <mailto:richard at tw.co.nz>
> www.technologywise.co.nz <http://www.technologywise.co.nz>
> ph: +64 (0)7 571 1060
> fax: +64 (0)7 571 1061
>
> _______________________________________________
> http://www.vtiger.com/
>
>
>
>
> _______________________________________________
> http://www.vtiger.com/
--
Richard Hills
TechnologyWise Ltd, Tauranga, NZ
richard at tw.co.nz
www.technologywise.co.nz
ph: +64 (0)7 571 1060
fax: +64 (0)7 571 1061
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20130205/77d4a7a3/attachment.html
More information about the vtigercrm-developers
mailing list