In this tutorial we will outline the steps required to add links in the Administration section of SugarCRM. This tutorial was created for reference and does not explain how to build the configuration options behind the links on the SugarCRM administration page.
In order to add the configuration options you will need to add a few folder to your folder structure. If the files that we create in Section 2 are not in the correct place then the customization will not work. It is also good to note that capitalization is important.
1.1 - Go to the SugarCRM custom directory.
1.2 - If a folder named Extension does not exist then create it. ( custom/Extension )
1.3 - Inside of Extension create modules. ( custom/Extension/modules )
1.4 - Inside of modules create Administration. ( custom/Extension/modules/Administration )
1.5 - Inside of Administration create Ext. ( custom/Extension/modules/Administration/Ext )
1.6 - Inside of Ext create Administration. ( custom/Extension/modules/Administration/Ext/Administration )
1.7 - Inside of Ext create Language. ( custom/Extension/modules/Administration/Ext/Language )
2.1 - Create a PHP file in custom/Extension/modules/Administration/Ext/Administration and name it accordingly.
A popular naming convention for this file is <modulename>
<?php
$admin_option_defs=array();
$admin_option_defs['Administration']['telemarketing']= array(
$image_path . ' telemarketing ','LBL_TELEMARKETING_CONFIG1_TITLE','LBL_TELEMARKETING_CONFIG1_DESC','./index.php?module= telemarketing &action=config');
$admin_group_header[]= array('LBL_TELEMARKETING_CONFIG_HEADER','',false,$admin_option_defs, '');
$config_categories[] = ' telemarketing ';
?>
<?php
$mod_strings = array (
'LBL_TELEMARKETING_CONFIG_HEADER' => "Telemarketing Configuration",
'LBL_ TELEMARKETING _CONFIG1_TITLE' => "Telemarketing Configuration Page 1",
'LBL_ TELEMARKETING _CONFIG1_DESC' => "Manage Settings for Telemarketing",
);
?>