<div dir="ltr">Hi,<div><br></div><div>To match the structuring of code to current vtiger 6.2.0, please do follow this <a href="http://community.vtiger.com/help/vtigercrm/developers/extensions/examples/entity-module.html">documentation</a> which might help.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Feb 21, 2015 at 6:09 PM,  <span dir="ltr"><<a href="mailto:stprasad@stprasad.com" target="_blank">stprasad@stprasad.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Melanie,<br>
it can be done, albeit there would be different things to do depending upon what all you have customised in the module.<br>
<br>
There would be workflows, custom widgets, relations, and so on.<br>
<br>
There is no set way at present, if you could share more details, and take a video of your module features in operation,  more clarity on what steps to take up would emerge.<br>
<br>
Regards, ST Prasad<br>
<br>
Sent from BlackBerry® on Airtel<br>
<div><div class="h5"><br>
-----Original Message-----<br>
From: "Melanie" <<a href="mailto:m.brummell@btinternet.com">m.brummell@btinternet.com</a>><br>
Sender: vtigercrm-developers-bounces@lists.vtigercrm.comDate: Sat, 21 Feb 2015 12:24:28<br>
To: <<a href="mailto:vtigercrm-developers@lists.vtigercrm.com">vtigercrm-developers@lists.vtigercrm.com</a>><br>
Reply-To: <a href="mailto:m.brummell@btinternet.com">m.brummell@btinternet.com</a>, <a href="mailto:vtigercrm-developers@lists.vtigercrm.com">vtigercrm-developers@lists.vtigercrm.com</a><br>
Subject: Re: [Vtigercrm-developers] Guidance on upgrading old 5.4 modules to<br>
        work with vtiger 6.2<br>
<br>
Hi Guys,<br>
<br>
I am looking for some guidance on how to take an existing vtiger 5.4 module<br>
and upgrade it so it is compatible with vtiger 6.2<br>
<br>
I have googled for hours and so far not come up with anything. Does anyone<br>
know if such a guide exists and if yes, where I might find it?<br>
<br>
Kind regards<br>
<br>
Mel<br>
<br>
-----Original Message-----<br>
From: <a href="mailto:vtigercrm-developers-bounces@lists.vtigercrm.com">vtigercrm-developers-bounces@lists.vtigercrm.com</a><br>
[mailto:<a href="mailto:vtigercrm-developers-bounces@lists.vtigercrm.com">vtigercrm-developers-bounces@lists.vtigercrm.com</a>] On Behalf Of<br>
<a href="mailto:vtigercrm-developers-request@lists.vtigercrm.com">vtigercrm-developers-request@lists.vtigercrm.com</a><br>
Sent: 20 February 2015 15:58<br>
To: <a href="mailto:vtigercrm-developers@lists.vtigercrm.com">vtigercrm-developers@lists.vtigercrm.com</a><br>
Subject: vtigercrm-developers Digest, Vol 109, Issue 98<br>
<br>
Send vtigercrm-developers mailing list submissions to<br>
        <a href="mailto:vtigercrm-developers@lists.vtigercrm.com">vtigercrm-developers@lists.vtigercrm.com</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<br>
<a href="http://lists.vtigercrm.com/cgi-bin/mailman/listinfo/vtigercrm-developers" target="_blank">http://lists.vtigercrm.com/cgi-bin/mailman/listinfo/vtigercrm-developers</a><br>
<br>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:vtigercrm-developers-request@lists.vtigercrm.com">vtigercrm-developers-request@lists.vtigercrm.com</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:vtigercrm-developers-owner@lists.vtigercrm.com">vtigercrm-developers-owner@lists.vtigercrm.com</a><br>
<br>
When replying, please edit your Subject line so it is more specific than<br>
"Re: Contents of vtigercrm-developers digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1. Re: Hide/Prevent Todos? (Alan Lord)<br>
   2. Re: Hide/Prevent Todos? (Alan Lord)<br>
   3. Bug in Calendar with 12 hour format (Conrado Maggi)<br>
   4. Re: handleQuickCreateData not working with        Events (Conrado<br>
Maggi)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Fri, 20 Feb 2015 15:01:47 +0000<br>
From: Alan Lord <<a href="mailto:alanslists@gmail.com">alanslists@gmail.com</a>><br>
To: <a href="mailto:vtigercrm-developers@lists.vtigercrm.com">vtigercrm-developers@lists.vtigercrm.com</a><br>
Subject: Re: [Vtigercrm-developers] Hide/Prevent Todos?<br>
Message-ID: <mc7i8r$5p3$<a href="mailto:1@ger.gmane.org">1@ger.gmane.org</a>><br>
Content-Type: text/plain; charset=windows-1252; format=flowed<br>
<br>
On 19/02/15 19:55, Richard Hills - Technologywise wrote:<br>
> Hi Alan<br>
><br>
> Actually I would like to do this also, may not have time to look<br>
> before you so please let me know if you find anything. Will do the same.<br>
<br>
As I expected, it's not totally trivial.<br>
<br>
You can hide the "Add ToDo" action links fairly easily just by commenting<br>
out the relevant CalendarActionLinks[] array in the various modules'<br>
DetailView Model classes.<br>
<br>
(Note for vtiger developers: however, I thought action links were much<br>
better handled when they were in the database and not *hardcoded* in the<br>
View classes - why was this done? What benefit does it provide?).<br>
<br>
The Quick Create template however is a bit of a mess. I was hoping that by<br>
simply removing "Calendar" from the<br>
<br>
> $moduleList = array('Calendar','Events');<br>
<br>
in the QuickCreateAjax View class that would do the trick but the template<br>
fails to render properly (no submit cancel buttons and no scroll bars) as it<br>
expects there to be these two modules - which is a shame. So I think I'm<br>
going to have to hack the template or create a new one to remove ToDos from<br>
here.<br>
<br>
The one good thing though, is that the Quick Create template seems to be<br>
really the main way to get to the Create Event or Todo full form so I'm<br>
guessing once it's been removed from the Quick Create template and hidden in<br>
the action links there isn't much else required.<br>
<br>
HTH<br>
<br>
Al<br>
<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Fri, 20 Feb 2015 15:30:12 +0000<br>
From: Alan Lord <<a href="mailto:alanslists@gmail.com">alanslists@gmail.com</a>><br>
To: <a href="mailto:vtigercrm-developers@lists.vtigercrm.com">vtigercrm-developers@lists.vtigercrm.com</a><br>
Subject: Re: [Vtigercrm-developers] Hide/Prevent Todos?<br>
Message-ID: <mc7ju4$4b3$<a href="mailto:1@ger.gmane.org">1@ger.gmane.org</a>><br>
Content-Type: text/plain; charset=windows-1252; format=flowed<br>
<br>
On 20/02/15 15:01, Alan Lord wrote:<br>
><br>
> The one good thing though, is that the Quick Create template seems to<br>
> be really the main way to get to the Create Event or Todo full form so<br>
> I'm guessing once it's been removed from the Quick Create template and<br>
> hidden in the action links there isn't much else required.<br>
<br>
It was actually fairly easy to prevent the ToDo tab from appearing in the<br>
template. Just comment out the <li>...</li> from the top for the Task -<br>
that's all that's needed. And change the Label if you want it stop saying<br>
Events/Todos...<br>
<br>
The other bit is for related Lists.<br>
<br>
The Add Event and Add Todo buttons for the related Lists are hard-coded in<br>
modules/Vtiger/models/RelationListView.php. Just comment out the<br>
<br>
> $addLinkList[]<br>
<br>
for the task again and it's done.<br>
<br>
HTH<br>
<br>
Al<br>
<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Fri, 20 Feb 2015 16:56:40 +0100<br>
From: Conrado Maggi <<a href="mailto:comaggi@gmail.com">comaggi@gmail.com</a>><br>
To: vtigercrm-developers <<a href="mailto:vtigercrm-developers@lists.vtigercrm.com">vtigercrm-developers@lists.vtigercrm.com</a>><br>
Subject: [Vtigercrm-developers] Bug in Calendar with 12 hour format<br>
Message-ID:<br>
        <<a href="mailto:CAF7dwW-QMPgzQ7FG3-JqJMDVLb4xvqYtduPSOz4pNE%2BRDLZffQ@mail.gmail.com">CAF7dwW-QMPgzQ7FG3-JqJMDVLb4xvqYtduPSOz4pNE+RDLZffQ@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hi,<br>
<br>
I just found a bug in the calendar when the user uses 12 hour format.<br>
<br>
Step to reproduce:<br>
<br>
1- Go to calendar en create an event form 5:00PM to 7:00PM<br>
2- When you go back to the calendar the event shows as 5:00AM to 7:00AM<br>
3- Go to calendar list and you will see the event is correctly save in the<br>
database.<br>
<br>
The problem is that full calendar expect the time in 24hours format.<br>
<br>
In both files<br>
modules/Calendar/actions/Feed.php<br>
modules/Calendar/actions/SaveAjax.php<br>
<br>
You are taking off the AM/PM part but forgot to add the extra 12hours if the<br>
time is PM.<br>
<br>
There should be function in Vtiger_Time_UIType class that convert from AM/PM<br>
to 24 hours. The meantime I have found attached solution.<br>
<br>
Regards,<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL:<br>
<<a href="http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20150
220/754b9e0d/attachment-0001.html" target="_blank">http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20150<br>
220/754b9e0d/attachment-0001.html</a>><br>
-------------- next part --------------<br>
A non-text attachment was scrubbed...<br>
Name: calendarAMPM.patch<br>
Type: application/octet-stream<br>
Size: 2192 bytes<br>
Desc: not available<br>
URL:<br>
<<a href="http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20150
220/754b9e0d/attachment-0001.obj" target="_blank">http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20150<br>
220/754b9e0d/attachment-0001.obj</a>><br>
<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Fri, 20 Feb 2015 16:57:48 +0100<br>
From: Conrado Maggi <<a href="mailto:comaggi@gmail.com">comaggi@gmail.com</a>><br>
To: vtigercrm-developers <<a href="mailto:vtigercrm-developers@lists.vtigercrm.com">vtigercrm-developers@lists.vtigercrm.com</a>><br>
Subject: Re: [Vtigercrm-developers] handleQuickCreateData not working<br>
        with    Events<br>
Message-ID:<br>
        <CAF7dwW9VO8jT9SseCBs6uiA=<a href="mailto:go-PBoEjoetNGN0bO9pNi9QhnA@mail.gmail.com">go-PBoEjoetNGN0bO9pNi9QhnA@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hello Uma,<br>
<br>
I just found a solution for this..<br>
<br>
<a href="https://github.com/jonthornton/jquery-timepicker/issues/139" target="_blank">https://github.com/jonthornton/jquery-timepicker/issues/139</a><br>
<br>
I've updated time picker library and now its solved.<br>
<br>
Regards,<br>
Conrado<br>
<br>
On Wed, Feb 18, 2015 at 11:06 AM, Uma S <<a href="mailto:uma.s@vtiger.com">uma.s@vtiger.com</a>> wrote:<br>
<br>
> Hi,<br>
><br>
> For the above given screen-shot of edit-view, we can see input element<br>
> value in developer tool is different from what we can see in UI, I was<br>
> not able to reproduce this either in local instance or <a href="http://demo.vtiger.com" target="_blank">demo.vtiger.com</a>.<br>
><br>
> Hope, your api in java-script is over-writing the value before form<br>
> submit. Can you provide clarification for this.<br>
><br>
> On Tue, Feb 17, 2015 at 6:28 PM, Conrado Maggi <<a href="mailto:comaggi@gmail.com">comaggi@gmail.com</a>> wrote:<br>
><br>
>> Hello Uma,<br>
>><br>
>> What I'm doing is extending the calendar to pass start/end times.<br>
>> Essentially select an slot of time instead of 5min. Its working fine<br>
>> with the standard javascript and the quick create but something is<br>
>> overrating the values I set.<br>
>><br>
>> Take a look at the attached image<br>
>><br>
>><br>
>> I'm using this callback to set the<br>
>> time:<br>
>> jQuery('[name="time_end"]').timepicker('setTime',endDateInstance);<br>
>><br>
>><br>
>><br>
>> ?<br>
>><br>
>> On Tue, Feb 17, 2015 at 10:26 AM, Uma S <<a href="mailto:uma.s@vtiger.com">uma.s@vtiger.com</a>> wrote:<br>
>><br>
>>> Hi,<br>
>>><br>
>>> Activity type is of 3 like Call, Meeting and Mobile Call. So it's<br>
>>> depending on that value. Can you please let what is test-case<br>
>>> scenario your facing the problem.<br>
>>><br>
>>> Because if you edit end-time value to any other it will save the<br>
>>> value, if not specified then by default will take up 5 mins duration.<br>
>>><br>
>>><br>
>>><br>
>>> On Tue, Feb 17, 2015 at 2:22 PM, Conrado Maggi <<a href="mailto:comaggi@gmail.com">comaggi@gmail.com</a>><br>
>>> wrote:<br>
>>><br>
>>>> Hello..<br>
>>>><br>
>>>> I've  just found it. In<br>
>>>> layouts/vlayout/modules/Calendar/resources/Edit.js<br>
>>>><br>
>>>> registerBasicEvents : function(container) { this._super(container);<br>
>>>> this.registerActivityTypeChangeEvent(container);<br>
>>>> this.registerTimeStartChangeEvent(container);<br>
>>>>         this.registerEndDateTimeChangeLogger(container);<br>
>>>>         *//Required to set the end time based on the default<br>
>>>> ActivityType selected*<br>
>>>> *         container.find('[name="activitytype"]').trigger('change');*<br>
>>>> },<br>
>>>><br>
>>>> You do not need those bold line. There is only one activity default<br>
>>>> duration and no need to trigger the change event on document ready.<br>
>>>><br>
>>>> Regards,<br>
>>>> Conrado<br>
>>>><br>
>>>> On Tue, Feb 17, 2015 at 9:24 AM, Conrado Maggi <<a href="mailto:comaggi@gmail.com">comaggi@gmail.com</a>><br>
>>>> wrote:<br>
>>>><br>
>>>>> Hello,<br>
>>>>><br>
>>>>> I'm trying to pass a variable into the quick create form using<br>
>>>>> headerInstance.handleQuickCreateData to set the event start / end<br>
>>>>> dates according to some other values.<br>
>>>>><br>
>>>>> No matter what I do the Event end date is being override and set<br>
>>>>> always to 5 min later than the start date.<br>
>>>>><br>
>>>>> Does anyone knows where  the end date is being force to be 5min<br>
>>>>> later than the start date? (The 5 min are in the user profile, I<br>
>>>>> need to find the javascript thats uses that value)<br>
>>>>><br>
>>>>> Thanks!<br>
>>>>><br>
>>>><br>
>>>><br>
>>>> _______________________________________________<br>
>>>> <a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br>
>>>><br>
>>><br>
>>><br>
>>><br>
>>> --<br>
>>> With<br>
>>> Best Regards<br>
>>> Uma.S<br>
>>> Vtiger Team<br>
>>><br>
>>> _______________________________________________<br>
>>> <a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br>
>>><br>
>><br>
>><br>
>> _______________________________________________<br>
>> <a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br>
>><br>
><br>
><br>
><br>
> --<br>
> With<br>
> Best Regards<br>
> Uma.S<br>
> Vtiger Team<br>
><br>
> _______________________________________________<br>
> <a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br>
><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL:<br>
<<a href="http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20150
220/e21b512a/attachment.html" target="_blank">http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20150<br>
220/e21b512a/attachment.html</a>><br>
-------------- next part --------------<br>
A non-text attachment was scrubbed...<br>
Name: Imagen1.png<br>
Type: image/png<br>
Size: 292566 bytes<br>
Desc: not available<br>
URL:<br>
<<a href="http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20150
220/e21b512a/attachment.png" target="_blank">http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20150<br>
220/e21b512a/attachment.png</a>><br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
vtigercrm-developers mailing list<br>
<a href="mailto:vtigercrm-developers@lists.vtigercrm.com">vtigercrm-developers@lists.vtigercrm.com</a><br>
<a href="http://lists.vtigercrm.com/cgi-bin/mailman/listinfo/vtigercrm-developers" target="_blank">http://lists.vtigercrm.com/cgi-bin/mailman/listinfo/vtigercrm-developers</a><br>
<br>
<br>
End of vtigercrm-developers Digest, Vol 109, Issue 98<br>
*****************************************************<br>
<br>
_______________________________________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br>
<br>
</div></div>_______________________________________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">With<br>Best Regards<br>Uma.S<br><div>Vtiger Team</div></div></div>
</div>