vtiger Forum Index vtiger
The Honest Open Source CRM
 

Removing / Hiding field
Click here to go to the original topic

 
       vtiger Forum Index -> Help - 5.0.4
Previous topic :: Next topic  
Author Message
addady



Joined: 02 Jun 2006
Posts: 46
Location: Israel

Posted: Wed Aug 20, 2008 3:34 pm    Post subject: Removing / Hiding field  

Hello,

I'm trying to change the definition of some field in vtiger_field table.
I want that one field will be hide so I set it to 1
Code: UPDATE `vtiger_field` SET `presence` = '1' WHERE `vtiger_field`.`fieldid` =79 LIMIT 1 ;

The other filed to be readonly
Code: UPDATE `vtiger_field` SET `readonly` = '0' WHERE `vtiger_field`.`fieldid` =78 LIMIT 1 ;


Those changes not seems to make any affect.
Am I missing some thing?

Reference: http://wiki.vtiger.com/index.php/Creating_New_Fields_in_Existing_Modules
Back to top  
pinaki



Joined: 18 Oct 2007
Posts: 57

Posted: Thu Aug 21, 2008 4:36 am    Post subject: Removing / Hiding field  

Hi,

To hide a field in vtiger, just set its displaytype to 0, i.e.

update vtiger_field set displaytype=0 where fieldid=79;

To make a field readonly you will have to change the uitype to 3, i.e.

update vtiger_field set uitype=3 where fieldid=78;

Sorry for the inconvinience caused by improper documentation. Feel free to contact me for any further assistance.

Thanks
Pinaki
vTiger Team
Back to top  
 
       vtiger Forum Index -> Help - 5.0.4
Page 1 of 1


Powered by phpBB Search Engine Indexer
Powered by phpBB 2.0.15 © 2001, 2002 phpBB Group