[Vtigercrm-developers] Modified Time On Records V6

Daniel Thompson developingdanny at gmail.com
Tue Jun 4 07:56:33 UTC 2013


I agree Adam,

But no changes in vtlib are not guaranteed which hence would overwrite your
file.

A more sophisticated model would be to add this to the MVC main class for
modcomments and using the mod entity you could write this in one function
that would future cater any new modules added to the system.

Intern this could also be extended when adding an event, todo or even
attaching documents to records.

My main point is that this seems pretty basic and should be standard stuff
for Vtiger.

Regards

Danny


On 3 June 2013 18:12, Adam Heinz <amh at metricwise.net> wrote:

> I don't think I'm quite following you. If a new module comes out, sure you
> would have to add the behavior to it (just like ModTracker attaches to new
> modules), but event handlers are traditionally written outside of core
> vtiger, with a row added to the database via a vtlib function.  I use a ton
> of them, and they haven't introduced any problems when merging in a new
> version of vtiger.
>
>
> On Mon, Jun 3, 2013 at 4:11 AM, Daniel Thompson <developingdanny at gmail.com
> > wrote:
>
>> Hi Adam,
>>
>> Yes this would be pretty easy to mod using the original module its key
>> and update.
>>
>> But this isn't the point as each time a new version of Vtiger comes out
>> each change that is made to mod would have to be wrote back in.
>>
>> A simple but relative change should really be in the Base Vtiger release.
>>
>> Regards
>>
>> Danny
>>
>>
>> On 31 May 2013 18:35, Adam Heinz <amh at metricwise.net> wrote:
>>
>>> It should be pretty straightforward for you to add a ModComments
>>> aftersave handler that updates the modified time of the related entity.
>>>  Feels like two dozen lines of code to me.
>>>
>>>
>>> On Fri, May 31, 2013 at 12:08 PM, Daniel Thompson <
>>> developingdanny at gmail.com> wrote:
>>>
>>>> Hi,
>>>>
>>>> I've noticed when adding a comment to a record such as Leads the
>>>> modified time does not alter accordingly.
>>>>
>>>> I can appreciate that the modules 'Leads' and 'Comments' are two
>>>> separate entities.
>>>>
>>>> But they are in fact linked.
>>>>
>>>> Regards
>>>>
>>>> Danny
>>>>
>>>>
>>>> _______________________________________________
>>>> http://www.vtiger.com/
>>>>
>>>
>>>
>>> _______________________________________________
>>> http://www.vtiger.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/20130604/baba9b1c/attachment.html>


More information about the vtigercrm-developers mailing list