[Vtigercrm-developers] calendar enanchemet

lajeesh k lajeeshk at gmail.com
Sat Aug 29 06:41:16 GMT 2015


Hi Vincent,

I have done customization to shared calendar. list events by role,
check/uncheck by groups


Regards,
Lajeesh

On Fri, Aug 28, 2015 at 5:45 PM, Vincent Piton <vincent.piton at free.fr>
wrote:

> Hi,
> For those interested, I succeeded in hacking the users box in shared
> calendar to be able to check all / uncheck all users :
>
> In layouts/vlayout/modules/calendar/CalendarSharedUsers.tpl
>
> Insert a checkbox at line 74 :
>
> <input type="checkbox" id="checkAlll"/> All
>
> And put this js at the end :
>
> <script type="text/javascript" language="javascript">
>
> $("#checkAlll").change(function () {
>     $("input:checkbox").prop('checked', $(this).prop("checked"));
>
>                 var calendarfeeds = jQuery('[data-calendar-feed]');
>
>                 calendarfeeds.each(function(index,element){
>                         var feedcheckbox = jQuery(element);
>                                 feedcheckbox.trigger('change');
>                 });
>
> });
>
> Hope this helps
> Regards
>
> -----Message d'origine-----
> De : vtigercrm-developers-bounces at lists.vtigercrm.com
> [mailto:vtigercrm-developers-bounces at lists.vtigercrm.com] De la part de
> Alan
> Lord
> Envoyé : mercredi 26 août 2015 11:59
> À : vtigercrm-developers at lists.vtigercrm.com
> Objet : Re: [Vtigercrm-developers] calendar enanchemet
>
> On 26/08/15 10:45, Vincent Piton wrote:
> > Hi,
> > Does anybody hacked the shared calendar to check / uncheck all users
> > or check by user groups ?
> > When you have lots of users it is a pain to check or uncheck one user
> > at a
>
> Yes.
>
> > $query1 = "TRUNCATE vtiger_sharedcalendar";
> > $query2 = "UPDATE vtiger_users SET calendarsharedtype = 'private'";
>
> Al
>
>
>
> _______________________________________________
> http://www.vtiger.com/
>
>
> _______________________________________________
> http://www.vtiger.com/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20150829/b0620a85/attachment.html>


More information about the vtigercrm-developers mailing list