How can I disable Sweet Spot in my Sugar 7.6 instance?
How can I disable Sweet Spot in my Sugar 7.6 instance?
The following applies to Sugar 7.6 which is currently the latest version.
Sweet Spot is loaded into browser client on startup via setting in cache/config.js.
(function(app){
app.augment("config",
{
"appId": "SugarCRM",
"env": "prod",
"platform": "base",
"additionalComponents": {
"header": {
"target": "#header",
"layout": "header"
},
"footer": {
"target": "#footer",
"layout": "footer"
},
"drawer": {
"target": "#drawers",
"layout": "drawer"
},
"sweetspot": {
"target": "#sweetspot",
"layout": "sweetspot"
}
},
…
},
false);
})(SUGAR.App);
If we remove the “sweetspot” property in config.js then this will prevent the Sweet Spot layout from being loaded when client initially loads in the browser.
Changes to config.js can be introduced via config_override.php
<?php
$sugar_config['additional_js_config']['additionalComponents'] = array(
'header' => array(
'target' => '#header',
'layout' => 'header'
),
'footer' => array(
'target' => '#footer',
'layout' => 'footer'
),
'drawer' => array(
'target' => '#drawers',
'layout' => 'drawer'
),
);
App Ecosystem @ SugarCRM