This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require_once 'include/Sugarpdf/Sugarpdf.php'; | |
class CustomSugarpdf extends Sugarpdf | |
{ | |
function Footer() { | |
// just need to remove the unwanted hr | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
define('sugarEntry', true); | |
require_once('include/entryPoint.php'); | |
require_once('modules/ACLRoles/ACLRole.php'); | |
require_once('modules/ACLActions/actiondefs.php'); | |
// metadata for creates or updates, see all possibilities for 'def' in modules/ACLActions/actiondefs.php | |
$acl = array( | |
// Create new role |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
April 22, 2014 in Desarrollo, Sugar | |
1.) Custom AutoIncrement Field(having unique value): | |
For declaring “autoincrement” field in sugacrm do as follows: | |
Suppose we have to declare “Au Pair number” field as an autoincrement field in suagcrm. For this we have to declare vardef in custom/Extension/modules/oss_auPairs/Ext/Vardefs/vardefs.ext.php as follows: | |
*/ | |
$dictionary["oss_auPairs"]["fields"]["aupair_number"] =array ( |