How to create own Custom function for PDF Maker or EMAIL Maker?
Hello Guys,lot of our customers ask me how to create custom function for PDF Maker or EMAIL Maker. Even thought it is described in our manuals (you can read it here) of these extensions, I will show you it one more time with simple example.First at all, you need to create own .php file because with update of PDF Maker or EMAIL Maker our standard files are re-written and you can lose your function.Please create your new file in: [vtigerROOT]/modules/PDFMaker(EMAILMaker)/resources/functionsHow to create own custom function At least, your file have to contains <?php You can also copy these lines to your new file: if (!function_exists('nameofyourfunction')) {function nameofyourfunction( ) { ...