随笔分类 -  SugarCRM

摘要:(1)创建:在系统管理中的编辑下拉框选项里创建自定义的下拉菜单及其项目的值和键 在\custom\include\language\zh_cn.lang.php 文件中 $app_list_strings['种类ABC'] = array ( '' => '', 'B' => '吧', 'C' => ... 阅读全文
posted @ 2011-02-13 17:38 海乐学习 阅读(692) 评论(0) 推荐(0) 编辑
摘要:在Dashlet.php页中 if($this->isRefreshable) $additionalTitle .= 'id . '\'); return false;"> '; // id . '\'); return false;"> ... 阅读全文
posted @ 2011-02-13 17:37 海乐学习 阅读(256) 评论(0) 推荐(0) 编辑
摘要:解决方案: modules/Calendar/DateTime.php 改为 myDateTime.php将此文件中的 class DateTime 改为 class myDateTime将 new DateTime 全部替换为 new myDateTime将 /DateTime.php 全部替换为 /myDateTime.php 阅读全文
posted @ 2011-02-13 17:36 海乐学习 阅读(272) 评论(0) 推荐(0) 编辑
摘要:\themes\ClassicSugar\header.html //下面的代码上 加入此行用于布局,左边距 {LEFT_FORM_OTD} * * 之间的代码注掉 * * {LEFT_FORM_CTD} 左边菜单去掉--> //此行保留 阅读全文
posted @ 2011-02-13 17:34 海乐学习 阅读(322) 评论(0) 推荐(0) 编辑
摘要:[代码] 阅读全文
posted @ 2011-02-13 17:34 海乐学习 阅读(249) 评论(0) 推荐(0) 编辑
摘要:[代码] 阅读全文
posted @ 2011-02-13 17:33 海乐学习 阅读(303) 评论(0) 推荐(0) 编辑
摘要:在\modules\wwws\Menu.php 中 //BUILDER: BEGIN of menus $module_menu[] = array('index.php?module=Accounts&action=index', $mod_strings['LNK_LIST_Accounts'], 'A11'); //BUILDER: END of menus ... 阅读全文
posted @ 2011-02-13 17:32 海乐学习 阅读(263) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2011-02-13 17:31 海乐学习 阅读(259) 评论(0) 推荐(0) 编辑
摘要:[代码] 阅读全文
posted @ 2011-02-13 17:29 海乐学习 阅读(290) 评论(0) 推荐(0) 编辑
摘要:\themes\Sugar\header.html 去掉下面代码 select id="tabgroup" onchange="onTabgroupChanged(this);" {TABGROUP_OPTIONS}/select 阅读全文
posted @ 2011-01-29 22:16 海乐学习 阅读(279) 评论(0) 推荐(0) 编辑
摘要:\themes\ClassicSugar\header.html <a class="myAreaLink" href= "javascript:history.go(-1) "> 后退 |</a> <a class="myAreaLink" href= "javascript:history.go(1) "> 前进 |</a> <!-- BEGIN: global_control_links --> 在此代码上面加入 阅读全文
posted @ 2011-01-29 22:15 海乐学习 阅读(330) 评论(0) 推荐(0) 编辑
摘要:在下面文件中修改\include\globalControlLinks.php if (is_admin($current_user)) //是用来判断是否是 admin 用户 阅读全文
posted @ 2011-01-29 22:14 海乐学习 阅读(312) 评论(0) 推荐(0) 编辑
摘要:1.修正了第二次加载模块时出错。问题原因:问题不在加载模块中,而是在创建模块时。 复制manifest.php文件时,将模板(modules\SimpleMod\manifest.php)更改了。 在模板中'SimpleMod'这种变量是要在创建新模块时改新的。如'SimpleMod'变量应更新为新模块的名称。解决方案:在modules\Builder\BuildModule.php 文件中 1.在$xFileType = ".php"; 语句后写:$xPath = "cache/ModuleBuilder/"; 改变更新目标文件路径 2.将此语名 copy ("modules/SimpleM 阅读全文
posted @ 2010-07-28 10:23 海乐学习 阅读(286) 评论(0) 推荐(0) 编辑
摘要:1.logo图片 \themes\ClassicSugar\images\company_logo.png 在此文件中 \themes\ClassicSugar\header.html 2.登陆图片 \images\middle-bg.gif 3.默认主题 \config.php 'default_theme' = 'ClassicSugar' 4.不显示选择主题 \login.php 位置:td align=right主题:/tdtdselect style='width: 120px' name='login_theme' 注释掉。 注意:如果不是OA主题,应选择要用的 阅读全文
posted @ 2010-07-28 10:22 海乐学习 阅读(510) 评论(0) 推荐(0) 编辑