O'Reilly logo

vtiger CRM by Ian D. Rossi

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action - creating a custom module in vtiger

So, if you wanted to create this "Locations" module that would track your customer's different locations, you would create a PHP script with the following sections:

  1. Let's start by creating the PHP file properly and including some nice neat HTML supplied by the vtiger team. This code is creating the HTML header, defining the CSS for the theme and displaying the vtiger logo:
    <?php // Just a bit of HTML formatting echo '<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">'; echo '<html><head><title>vtlib Module Script</title>'; echo '<style type="text/css">@import url("themes/softed/style.css");br { display: block; margin: 2px; }</style>'; echo '</head><body ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required