AngularJs with Webpack part 2: Angular Component and Webpack Loader

In my first post, I demonstrated how to use Webapck with AngularJs quickly and in the simplest possible way.  You can read more in my previous article AngularJs with Webpack part 1. We will continue to build the same application and reference some things from the previous article so please get familiar to it or use it […]

AngularJs with Webpack part 1

The goal of this article is to show you and explain how to set up the fastest and simplest possible AngularJs application with Webpack. I will start with simplest angularJs application and build from that, adding loaders and plugins to accommodate different dependencies like bootstrap, filetypes like css etc. Webpack is a static module bundler […]

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’, […]

Redux – Part 1 – The Principles of Redux

What is redux? Redux is defined as predictable state container for JavaScript applications. It is mostly used with React but it can also be used with Angular and AngularJs or any other framework. I will focus on that in my upcoming Angular with Redux series. It helps you write applications that behave consistently, run in […]