Use old Quotes module

Introduction After upgrading one instance of SugarCRM from version 7 to version 8 I wanted to use old Quotes module instead of the new one. Because a lot of modification on Quotes module I didn’t want to upgrade to a new one. As you know Quotes module moved from BWC to Sidecar in version 7.9. […]

Extending module class

Introduction Extending module class – in some cases, you need to extend the module class. For example to add new functionality, to change the current one, etc. So this post will focus on how to do that easily. In previous versions of SugarCRM, you could just name class same as module class and extend it […]

Extending SugarCRM Logic

Introduction This article will walk through how to create and use SugarCRM custom expressions to extend Sugar Logic. Sugar Logic enables administrators to create business logic for field calculations without needing to write PHP code. The field’s dynamic value will be automatically updated based on a formula you provide. Administrators can create these formulas via […]


SugarCRM – Logic Hooks

Introduction SugarCRM Logic Hooks allows you to append actions to system events such as when creating, editing, and deleting records. This post gives you fast info how to implement them properly. For detail info read documentation linked at end of the post. Implementation Add php hooks_arrays in: /custom/extensions/modules/{module}/Ext/LogicHooks $hook_array[‘before_save’][] = Array( //Processing index. For sorting the […]

sugarcrm log

SugarCRM – Log and logging

Introduction We use SugarCRM log to monitor SugarCRM system. The SugarLogger class is located in ./include/SugarLogger/SugarLogger.php. It allows us to log system events to a log file. Log Configuration Log configuration is in config.php file in sugarCRM root. ‘logger’ => array ( ‘level’ => ‘fatal’, ‘file’ => array ( ‘ext’ => ‘.log’, ‘name’ => ‘sugarcrm’, […]