[Vtigercrm-developers] uitype 10 - value not displaying
Richard Hills
richard at tw.co.nz
Mon Feb 4 14:03:30 PST 2013
Thank you Joffrey, this was the answer I needed.
On 05/02/13 10:38, Joffrey Pannequin wrote:
>
> This could be linked to incorrect settings for entity identifier on
> module1.
>
> Le 4 févr. 2013 21:53, "Richard Hills" <richard at tw.co.nz
> <mailto:richard at tw.co.nz>> a écrit :
>
> 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 <tel:%2B64%20%280%297%20571%201060>
>> fax: +64 (0)7 571 1061 <tel:%2B64%20%280%297%20571%201061>
>>
>> _______________________________________________
>> http://www.vtiger.com/
>>
>>
>>
>>
>> _______________________________________________
>> http://www.vtiger.com/
>
>
> --
> 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 <tel:%2B64%20%280%297%20571%201060>
> fax:+64 (0)7 571 1061 <tel:%2B64%20%280%297%20571%201061>
>
>
> _______________________________________________
> 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/a54de982/attachment.html
More information about the vtigercrm-developers
mailing list