Hi Christian,<br><br>I'm trying to understand why you would want to delete theses fields from the database while it is so easy to hide them system wide using the configuration panel.<br><br>Do you have any special reason to really delete theses fields from the db ? If not it would be really easier to just hide them.<br>
<br>David V.<br><br><div class="gmail_quote">On Thu, Jan 29, 2009 at 5:56 PM, Christian Castelli <span dir="ltr"><<a href="mailto:christian.castelli@trackset.com">christian.castelli@trackset.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi vTiger developers,<br>
my company sells web services, so there are a lot of field in many<br>
modules (such as Leads, Quotes, Accounts and Invoice) that we don't need<br>
(and won't need).<br>
Instead of modifying Smarty templates (which would have taken too much<br>
time), I considered to delete these fields directly in the DB, from<br>
vtiger_fields.<br>
It seems to work all fine but:<br>
<br>
1) I've noticed that every time I deleted some rows from vtiger_field,<br>
the system log me out. Then I logged in again and when I deleted some<br>
rows it logged me out again. Is it normal?<br>
<br>
2) After these mods, I receive these warning (these printings come from<br>
Xdebug) only in Home Page and Invoice Module ListView.<br>
<br>
Warning: Invalid argument supplied for foreach() in<br>
/var/www/work/vtiger/include/utils/ListViewUtils.php on line 1169<br>
Call Stack<br>
# Time Memory Function Location<br>
1 0.0031 253276 {main}( ) ../index.php:0<br>
2 0.8356 13673132 include(<br>
'/var/www/work/vtiger/modules/Home/index.php' ) ../index.php:577<br>
3 1.8453 15020680 getTopInvoice( ) ../index.php:135<br>
4 1.9300 15163560 getListViewEntries( )<br>
../ListTopInvoice.php:115<br>
5 1.9666 15196216 getValue( ) ../ListViewUtils.php:889<br>
<br>
Have I missed something? It's not so important to correct these warnings<br>
but if I can, I'll do.<br>
Thanks for attention,<br>
Greetings.<br>
_______________________________________________<br>
Reach hundreds of potential candidates - <a href="http://jobs.vtiger.com" target="_blank">http://jobs.vtiger.com</a><br>
</blockquote></div><br>