Friday, March 20, 2015

Centos - xz compression is not available error when trying to install any package

Generally this issue comes when we install the wrong epel-release package.  I have fixed this issue by using below command

 yum remove epel-release

which removes that wrong package.
 

Thursday, March 12, 2015

Vtiger - How to do settings for outgoing server when you don't now about SMTP server details

By doing some minor tweaks in core file we can easily enable default sendmail instead of SMTP settings.

In CRM, open file vtigercrm/modules/Emails/class.phpmailer.php

Changes should be as below:

function IsSMTP() {
$this->Mailer = "smtp"

to

function IsSMTP() {
$this->Mailer = "sendmail"

Now go to outgoing server settings in CRM admin and enter details like below -

mail.yourdomain.com
youremail@anydomain.com
Your password for above email
Set as per your choice
Set as per your choice


How to turn off auto complete on html form ?

Auto complete on/off is the functionality provided in HTML. The objective of using "Auto-complete off/on" is to control form auto completing your details. By default auto complete is on.
To disable this just add autocomplete = "off" in respective form tag
We can also use auto complete in particular input fields of a form.