This file contains 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 | |
if (! defined('sugarEntry') || ! sugarEntry) die('Not A Valid Entry Point'); | |
?> | |
Cleaning up some configurations... | |
<?php | |
post_uninstall(); //not called automatically | |
function post_uninstall() | |
{ |
This file contains 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 | |
if (! defined('sugarEntry') || ! sugarEntry) die('Not A Valid Entry Point'); | |
?> | |
Please be patient as the installer finishes. | |
<br/><br/> | |
You will be automatically redirected once it has completed. | |
<?php | |
function post_install() | |
{ | |
global $sugar_version, $db, $dictionary, $current_user; |
This file contains 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 | |
//custom/modules/Leads/views/view.detail.php | |
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point'); | |
require_once('include/MVC/View/views/view.detail.php'); | |
class CustomLeadsViewDetail extends ViewDetail | |
{ | |
function display() |
This file contains 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
({ | |
className: 'sugarchimp-setup', | |
currentStep: 1, | |
events: | |
{ | |
'click .nextStep':'nextStep', | |
'click .previousStep':'previousStep' | |
}, | |
initialize: function(opts) { |
This file contains 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
({ | |
className: 'yourmodule-setup tcenter', | |
}) |
This file contains 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
// /modules/YOURMODULE/clients/base/layouts/setup/setup.php | |
$viewdefs[‘YOURMODULE’]['base']['layout']['setup'] = array( | |
'type' => 'simple', | |
'components' => | |
array( | |
array( | |
'view' => 'setup', | |
), | |
), | |
); |