- Code: Select all
$link=mysql_connect("localhost", "vtigercrm",'mypassword');
In the line above, make sure that you replace "localhost" with your DB server address. For most single server installs this can be left as is. Update the "vtigercrm" and "mypassword" to username and password for your vtiger database.
- Code: Select all
mysql_select_db("vtigercrm503");
Replace "vtigercrm503" with the name of the database for your vtiger installation. If you did a default install or used VicidialNOW for your install "vtigercrm50[X]", where [X] denotes the last digit of the version of vtiger.
- Code: Select all
$account_URL = "http://192.168.1.2/vtigercrm/index.php?module=Leads&action=DetailView&record=$leadid";
Modify the above line and replace "192.168.1.2" with your vicidial server address. This line appears twice, towards the end of the file, so make sure you update the address on both lines.
Finally, enter a webform address as below in your campagin screen:
http://yourserveraddress/vicidial/vtiger_search.php
NOTE: You will need to have logins for your agents for access into VtigerCRM, because when the pop up window opens for the agent, if they are not already logged in (possibly at the beginning of the shift) they will be prompted for login first and then only the main Vtiger dashboard will display. I found it better to have the agent login to Vtiger in the beginning of the shift and then they can go directly to the lead screen.