[Vtigercrm-developers] Guidance on upgrading old 5.4 modules to work with vtiger 6.2

stprasad at stprasad.com stprasad at stprasad.com
Sat Feb 21 12:39:23 GMT 2015


Hi Melanie,
it can be done, albeit there would be different things to do depending upon what all you have customised in the module.

There would be workflows, custom widgets, relations, and so on.

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.

Regards, ST Prasad 

Sent from BlackBerry® on Airtel

-----Original Message-----
From: "Melanie" <m.brummell at btinternet.com>
Sender: vtigercrm-developers-bounces at lists.vtigercrm.comDate: Sat, 21 Feb 2015 12:24:28 
To: <vtigercrm-developers at lists.vtigercrm.com>
Reply-To: m.brummell at btinternet.com, vtigercrm-developers at lists.vtigercrm.com
Subject: Re: [Vtigercrm-developers] Guidance on upgrading old 5.4 modules to
	work with vtiger 6.2

Hi Guys,

I am looking for some guidance on how to take an existing vtiger 5.4 module
and upgrade it so it is compatible with vtiger 6.2

I have googled for hours and so far not come up with anything. Does anyone
know if such a guide exists and if yes, where I might find it?

Kind regards

Mel

-----Original Message-----
From: vtigercrm-developers-bounces at lists.vtigercrm.com
[mailto:vtigercrm-developers-bounces at lists.vtigercrm.com] On Behalf Of
vtigercrm-developers-request at lists.vtigercrm.com
Sent: 20 February 2015 15:58
To: vtigercrm-developers at lists.vtigercrm.com
Subject: vtigercrm-developers Digest, Vol 109, Issue 98

Send vtigercrm-developers mailing list submissions to
	vtigercrm-developers at lists.vtigercrm.com

To subscribe or unsubscribe via the World Wide Web, visit
	
http://lists.vtigercrm.com/cgi-bin/mailman/listinfo/vtigercrm-developers

or, via email, send a message with subject or body 'help' to
	vtigercrm-developers-request at lists.vtigercrm.com

You can reach the person managing the list at
	vtigercrm-developers-owner at lists.vtigercrm.com

When replying, please edit your Subject line so it is more specific than
"Re: Contents of vtigercrm-developers digest..."


Today's Topics:

   1. Re: Hide/Prevent Todos? (Alan Lord)
   2. Re: Hide/Prevent Todos? (Alan Lord)
   3. Bug in Calendar with 12 hour format (Conrado Maggi)
   4. Re: handleQuickCreateData not working with	Events (Conrado
Maggi)


----------------------------------------------------------------------

Message: 1
Date: Fri, 20 Feb 2015 15:01:47 +0000
From: Alan Lord <alanslists at gmail.com>
To: vtigercrm-developers at lists.vtigercrm.com
Subject: Re: [Vtigercrm-developers] Hide/Prevent Todos?
Message-ID: <mc7i8r$5p3$1 at ger.gmane.org>
Content-Type: text/plain; charset=windows-1252; format=flowed

On 19/02/15 19:55, Richard Hills - Technologywise wrote:
> Hi Alan
>
> Actually I would like to do this also, may not have time to look 
> before you so please let me know if you find anything. Will do the same.

As I expected, it's not totally trivial.

You can hide the "Add ToDo" action links fairly easily just by commenting
out the relevant CalendarActionLinks[] array in the various modules'
DetailView Model classes.

(Note for vtiger developers: however, I thought action links were much
better handled when they were in the database and not *hardcoded* in the
View classes - why was this done? What benefit does it provide?).

The Quick Create template however is a bit of a mess. I was hoping that by
simply removing "Calendar" from the

> $moduleList = array('Calendar','Events');

in the QuickCreateAjax View class that would do the trick but the template
fails to render properly (no submit cancel buttons and no scroll bars) as it
expects there to be these two modules - which is a shame. So I think I'm
going to have to hack the template or create a new one to remove ToDos from
here.

The one good thing though, is that the Quick Create template seems to be
really the main way to get to the Create Event or Todo full form so I'm
guessing once it's been removed from the Quick Create template and hidden in
the action links there isn't much else required.

HTH

Al




------------------------------

Message: 2
Date: Fri, 20 Feb 2015 15:30:12 +0000
From: Alan Lord <alanslists at gmail.com>
To: vtigercrm-developers at lists.vtigercrm.com
Subject: Re: [Vtigercrm-developers] Hide/Prevent Todos?
Message-ID: <mc7ju4$4b3$1 at ger.gmane.org>
Content-Type: text/plain; charset=windows-1252; format=flowed

On 20/02/15 15:01, Alan Lord wrote:
>
> The one good thing though, is that the Quick Create template seems to 
> be really the main way to get to the Create Event or Todo full form so 
> I'm guessing once it's been removed from the Quick Create template and 
> hidden in the action links there isn't much else required.

It was actually fairly easy to prevent the ToDo tab from appearing in the
template. Just comment out the <li>...</li> from the top for the Task -
that's all that's needed. And change the Label if you want it stop saying
Events/Todos...

The other bit is for related Lists.

The Add Event and Add Todo buttons for the related Lists are hard-coded in
modules/Vtiger/models/RelationListView.php. Just comment out the

> $addLinkList[]

for the task again and it's done.

HTH

Al




------------------------------

Message: 3
Date: Fri, 20 Feb 2015 16:56:40 +0100
From: Conrado Maggi <comaggi at gmail.com>
To: vtigercrm-developers <vtigercrm-developers at lists.vtigercrm.com>
Subject: [Vtigercrm-developers] Bug in Calendar with 12 hour format
Message-ID:
	<CAF7dwW-QMPgzQ7FG3-JqJMDVLb4xvqYtduPSOz4pNE+RDLZffQ at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Hi,

I just found a bug in the calendar when the user uses 12 hour format.

Step to reproduce:

1- Go to calendar en create an event form 5:00PM to 7:00PM
2- When you go back to the calendar the event shows as 5:00AM to 7:00AM
3- Go to calendar list and you will see the event is correctly save in the
database.

The problem is that full calendar expect the time in 24hours format.

In both files
modules/Calendar/actions/Feed.php
modules/Calendar/actions/SaveAjax.php

You are taking off the AM/PM part but forgot to add the extra 12hours if the
time is PM.

There should be function in Vtiger_Time_UIType class that convert from AM/PM
to 24 hours. The meantime I have found attached solution.

Regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20150
220/754b9e0d/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: calendarAMPM.patch
Type: application/octet-stream
Size: 2192 bytes
Desc: not available
URL:
<http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20150
220/754b9e0d/attachment-0001.obj>

------------------------------

Message: 4
Date: Fri, 20 Feb 2015 16:57:48 +0100
From: Conrado Maggi <comaggi at gmail.com>
To: vtigercrm-developers <vtigercrm-developers at lists.vtigercrm.com>
Subject: Re: [Vtigercrm-developers] handleQuickCreateData not working
	with	Events
Message-ID:
	<CAF7dwW9VO8jT9SseCBs6uiA=go-PBoEjoetNGN0bO9pNi9QhnA at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Hello Uma,

I just found a solution for this..

https://github.com/jonthornton/jquery-timepicker/issues/139

I've updated time picker library and now its solved.

Regards,
Conrado

On Wed, Feb 18, 2015 at 11:06 AM, Uma S <uma.s at vtiger.com> wrote:

> Hi,
>
> For the above given screen-shot of edit-view, we can see input element 
> value in developer tool is different from what we can see in UI, I was 
> not able to reproduce this either in local instance or demo.vtiger.com.
>
> Hope, your api in java-script is over-writing the value before form 
> submit. Can you provide clarification for this.
>
> On Tue, Feb 17, 2015 at 6:28 PM, Conrado Maggi <comaggi at gmail.com> wrote:
>
>> Hello Uma,
>>
>> What I'm doing is extending the calendar to pass start/end times.
>> Essentially select an slot of time instead of 5min. Its working fine 
>> with the standard javascript and the quick create but something is 
>> overrating the values I set.
>>
>> Take a look at the attached image
>>
>>
>> I'm using this callback to set the
>> time:  
>> jQuery('[name="time_end"]').timepicker('setTime',endDateInstance);
>>
>>
>>
>> ?
>>
>> On Tue, Feb 17, 2015 at 10:26 AM, Uma S <uma.s at vtiger.com> wrote:
>>
>>> Hi,
>>>
>>> Activity type is of 3 like Call, Meeting and Mobile Call. So it's 
>>> depending on that value. Can you please let what is test-case 
>>> scenario your facing the problem.
>>>
>>> Because if you edit end-time value to any other it will save the 
>>> value, if not specified then by default will take up 5 mins duration.
>>>
>>>
>>>
>>> On Tue, Feb 17, 2015 at 2:22 PM, Conrado Maggi <comaggi at gmail.com>
>>> wrote:
>>>
>>>> Hello..
>>>>
>>>> I've  just found it. In
>>>> layouts/vlayout/modules/Calendar/resources/Edit.js
>>>>
>>>> registerBasicEvents : function(container) { this._super(container); 
>>>> this.registerActivityTypeChangeEvent(container);
>>>> this.registerTimeStartChangeEvent(container);
>>>>         this.registerEndDateTimeChangeLogger(container);
>>>>         *//Required to set the end time based on the default 
>>>> ActivityType selected*
>>>> *         container.find('[name="activitytype"]').trigger('change');*
>>>> },
>>>>
>>>> You do not need those bold line. There is only one activity default 
>>>> duration and no need to trigger the change event on document ready.
>>>>
>>>> Regards,
>>>> Conrado
>>>>
>>>> On Tue, Feb 17, 2015 at 9:24 AM, Conrado Maggi <comaggi at gmail.com>
>>>> wrote:
>>>>
>>>>> Hello,
>>>>>
>>>>> I'm trying to pass a variable into the quick create form using 
>>>>> headerInstance.handleQuickCreateData to set the event start / end 
>>>>> dates according to some other values.
>>>>>
>>>>> No matter what I do the Event end date is being override and set 
>>>>> always to 5 min later than the start date.
>>>>>
>>>>> Does anyone knows where  the end date is being force to be 5min 
>>>>> later than the start date? (The 5 min are in the user profile, I 
>>>>> need to find the javascript thats uses that value)
>>>>>
>>>>> Thanks!
>>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> http://www.vtiger.com/
>>>>
>>>
>>>
>>>
>>> --
>>> With
>>> Best Regards
>>> Uma.S
>>> Vtiger Team
>>>
>>> _______________________________________________
>>> http://www.vtiger.com/
>>>
>>
>>
>> _______________________________________________
>> http://www.vtiger.com/
>>
>
>
>
> --
> With
> Best Regards
> Uma.S
> Vtiger Team
>
> _______________________________________________
> http://www.vtiger.com/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20150
220/e21b512a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Imagen1.png
Type: image/png
Size: 292566 bytes
Desc: not available
URL:
<http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20150
220/e21b512a/attachment.png>

------------------------------

_______________________________________________
vtigercrm-developers mailing list
vtigercrm-developers at lists.vtigercrm.com
http://lists.vtigercrm.com/cgi-bin/mailman/listinfo/vtigercrm-developers


End of vtigercrm-developers Digest, Vol 109, Issue 98
*****************************************************

_______________________________________________
http://www.vtiger.com/



More information about the vtigercrm-developers mailing list