News & Updates
Training & Certification
to create and rate content, and to follow, bookmark, and share content with other members.
give an example where configurator and adminstration class is used wtihin the internal file system of sugar?
Question asked by
on Mar 12, 2015
on Mar 12, 2015 by Shijin Krishna
Show 0 Likes
sugar version-sugar ultimate edition 7.2
No one else has this question
Mark as assumed answered
This content has been marked as final.
Show 1 comment
(Required, will not be published)
Mar 12, 2015 7:01 AM
$configurator = new Configurator();
$configurator->loadConfig(); // it will load existing configuration in config variable of object
$configurator->config['mobivate_sms_username'] = $_POST['username'];
$configurator->config['mobivate_sms_password'] = $_POST['password'];
$configurator->config['mobivate_sms_route_id'] = $_POST['route_id'];
$configurator->config['mobivate_sms_from'] = $_POST['from'];
$configurator->config['mobivate_sms_max_char_length'] = $_POST['max_length'];
$configurator->saveConfig(); // save changes
Show 0 Likes
Retrieving data ...
Relate notes, emails, and calls to both opportunities and accounts?
Before_save logic hook for mass update
How to manually create an upload field in CE 6.5?
File Field for Uploads in Cases Module