[Vtigercrm-developers] Changing default view for all users

Matteo Baranzoni info at greenbitweb.com
Wed Jan 13 08:57:10 GMT 2016


hi, i'm porting "customview editor" from yetiforce, with this admin user
can edit default filter through crmsettings. When done i will push code on
code.vtiger.com

2016-01-13 9:49 GMT+01:00 Conrado Maggi <comaggi at gmail.com>:

> Hi,
>
> If you need to change the default view for all users you need to edit the
> column setdefault in vtiger_customview. Remove the 1 from the All filter
> and add it to your newly created one.
>
>
>
> On Wed, Jan 13, 2016 at 4:26 AM, Preexo <preexo at googlemail.com> wrote:
>
>> I am following up on this and even though the extension proposed by Matus
>> is
>> really cheap and will do the job just fine... This is the developer
>> mailing
>> list and I want to understand, because so far this is voodoo to me.
>>
>> I changed the `default_cvid` for my users in the table
>> `vtiger_user_module_preferences`.
>> But this does not have any effect, until:
>> - I change the value of the `userid` of the `vtiger_customview` with the
>> same id as set in the preference table to the user Id I'm actually testing
>> with.
>> - I logout and login again with the testing user (reset a cookie?)
>>
>> The login/logout makes sense in a way, but I don't get why the default
>> custom view does not work if the custom view is not assigned to the user
>> I'm
>> testing with... Can anyone help me understand this? Do you get my problem?
>>
>> Thanks for any help in advance.
>>
>>
>>
>> --
>> View this message in context:
>> http://vtiger-crm.2324883.n4.nabble.com/Changing-default-view-for-all-users-tp17883p18145.html
>> Sent from the vtigercrm-developers mailing list archive at Nabble.com.
>> _______________________________________________
>> http://www.vtiger.com/
>>
>
>
> _______________________________________________
> http://www.vtiger.com/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20160113/16d032ae/attachment.html>


More information about the vtigercrm-developers mailing list