vTiger Webmails patch

vTiger 5.0.4 is a very rich open source CRM solution , but the latest version can still be slow especially in Webmail.

In my point of view the biggest drawback of 5.0.4 is the slowness of the webmail, how people could possibly accept to shift there outlook to a webmail solution taking about 10 times more to do simple mail checks?

I have been moving one of my customer system to 5.0.4 lately, and looking at the webmail, I knew some sort of modifications had to be done.

This document presents an attempt to get better performances in the Webmail module of vTiger 5.0.4:

Features:

  • Increase significantly performances on all inboxes, especially large ones
  • Only retrieve displayed emails instead of the whole list
  • Search functionalitie displays results in a 'per page' basis
  • Search functionalitie much quicker especially on large results

Drawbacks:

Well, so far I haven't find any. I am hoping to get feedbacks from vTiger team and testers to know if my changes are valid.

Forum: http://creadev.net/forum/5 - http://forums.vtiger.com/viewtopic.php?t=19876

Developer: Clement Chazarra

Installation instructions:

Extract the folder "Webmails" from the compressed file, it contains the 4 files which I have been modifying:

  • ListView.php
  • ListViewAjax.php
  • MailBox.php
  • Webmails.js

Go to your vTiger root folder > modules > Webmails

Rename each of the above files to something not relevant (ie:backup_listview.php) and paste the files you downloaded from here.

IMPORTANT!! Do not try it if you don't know what you are doing, so far you just have to put back the original files and everything will be back to normal but this is a test version, so it is aimed for testers mainly.

Don't test it on your live company server, wait a couple of days, I will make a statment as soon as I get positive feedbacks from testers.

For the developers, I tried to do a step by step tutorial but after last changes, I realized that there is no point, there has been too many changes in the 4 files concerned, so if you want to find out what I have done, you should use a code compare tool as the one in notepad++, so you can check the differences.

I just finished an update for the patch, you can download it at the end of this page.


AttachmentSize
Webmails.rar18.01 KB