Time of Update: 2018-12-07
1.修正了第二次載入模組時出錯。問題原因:問題不在載入模組中,而是在建立模組時。 複製manifest.php檔案時,將模板(modules\SimpleMod\manifest.php)更改了。 在模板中'SimpleMod'這種變數是要在建立新模組時改新的。如'SimpleMod'變數應更新為新模組的名稱。解決方案:在modules\Builder\BuildModule.php 檔案中 1.在$xFileType = ".php"; 語句後寫:$xPath = "
Time of Update: 2018-12-07
1.用指令碼判斷點擊的是否為斷行符號鍵 <script type="text/javascript" > function EnterKeyClick() { if (event.keyCode == 13) { event.keyCode = 9; } } </script>2.前台<ext:FormLayout ID="FormLayout3" runat="server">
Time of Update: 2018-12-07
代碼Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--><input type="text" id="SessionID" value=""/><iframe id="IframeCallOut" src="" width="200px" height="200px"></iframe><script
Time of Update: 2018-12-07
問題原因:問題不在載入模組中,而是在建立模組時。 複製manifest.php檔案時,將模板(modules\SimpleMod\manifest.php)更改了。 在模板中'SimpleMod'這種變數是要在建立新模組時改新的。如'SimpleMod'變數應更新為新模組的名稱。解決方案:在modules\Builder\BuildModule.php 檔案中 1.在$xFileType = ".php"; 語句後寫:$xPath =
Time of Update: 2018-12-07
在頁面中含有frameset方式布局時,如果各個frame之間要相互訪問的話:var getLeftFrameValue=parent.frames["leftFrame"].document.getElementById("txtleft").value;
Time of Update: 2018-12-07
在Dashlet.php頁中 if($this->isRefreshable) $additionalTitle .= '<a href="#" onclick="SUGAR.sugarHome.retrieveDashlet(\'' . $this->id . '\'); return false;"><img width="13" height="13" border="0
Time of Update: 2018-12-07
<html><DIV style="BORDER-RIGHT: black 1px solid; BORDER-TOP: black 1px solid; BORDER-LEFT: black 1px solid; BORDER-BOTTOM: black 1px solid; SCROLLBAR-SHADOW-COLOR: #3d5054; SCROLLBAR-3DLIGHT-COLOR: #3d5054;
Time of Update: 2018-12-07
在$_REQUEST['where'] = $where;$storeQuery->process_views($currentModule);上面加入以下代碼,下面的代碼指預設為查詢本月if($where==''){ $date_period ='thismonth'; $date_from = get_date_from($date_period); $date_to = get_date_to($date_period); if(isset($date_from)
Time of Update: 2018-12-07
(1)建立: \include\language\zh_cn.lang.php 檔案中加入下拉式清單項的內容 $app_list_strings['account_type_dom1'] = array ( '' => '', 'Analyst' => '分析者', 'Manufacturer' => '生產廠商', 'Other' => '其它', );
Time of Update: 2018-12-07
\themes\ClassicSugar\header.html<!-- 去掉 尋找 <!-- BEGIN: left_form_search --><td class="search" style="padding: 0px" align="right" width="20"><img src="{IMAGE_PATH}searchSeparator.gif" width="12" height="20" border="0"
Time of Update: 2018-12-07
在\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 說明: 第一個參數: 指向的URL 第二個參數: 超串連顯示的titile
Time of Update: 2018-12-07
/* * 函數名: CString2Char * 參數1: CString str 待轉換字串 * 參數2: char ch[] 轉換後將要儲存的位置 * 將Unicode下的CString轉換為char* */ void CString2Char(CString str, char ch[]) { int i; char
Time of Update: 2018-12-07
什麼時候我們需要用到SetTimer函數呢?當你需要每個一段時間執行一件事的的時候就需要使用SetTimer函數了。讓我們先來看看SetTimer函數的原型: UINT SetTimer(UINT nIDEvent,UINT nElapse,void(CALLBACK EXPORT *lpfnTimer)(HWND,UINT ,YINT ,DWORD))
Time of Update: 2018-12-07
在html模板頁中 <!-- BEGIN: main --> //此句代碼下面寫 <script type="text/javascript">function prep_callin(the_form){ the_form.return_module.value='CallIns'; //返回的模組 返回的3個 在 ListView.html 中應去掉 ,因為ListView沒有返回
Time of Update: 2018-12-07
需求:DetailView頁面中顯示與父表相關的子表ListView並可增加子表內容 解決方案: 1.兩個模組 bw_Consignments 提運單資訊 父表 bw_ConsignItems 提運單明細 子表 關係: 子表中ConsignmentID欄位為父表中的id 2.關係欄位 ConsignmentID 必須為主表欄位 如何建立主表欄位
Time of Update: 2018-12-07
在做table背景圖時,發現總無法頂到網頁頭部。煩悶了很久,終於在網上找到瞭解決方法,寫下來大家分享。<style type="text/css">.bg { BACKGROUND-POSITION: center top; BACKGROUND-IMAGE: url(login3/images/bg.JPG); BACKGROUND-REPEAT: repeat-x; BACKGROUND-COLOR: #1a4975 ;margin:2;}</style>&
Time of Update: 2018-12-07
(1)建立:在系統管理中的編輯下拉框選項裡建立自訂的下拉式功能表及其項目的值和鍵 在\custom\include\language\zh_cn.lang.php 檔案中 $app_list_strings['種類ABC'] = array ( '' => '', 'B' => '吧', 'C' => '才', 'A' => '工', );
Time of Update: 2018-12-07
以下是html調用樣本,ClassID為用vb內建的打包工具,打包獲得的。<html><br><OBJECT ID="CtiClient"CLASSID="CLSID:FA2B1B95-359E-4320-BAB5-286450B9D863"CODEBASE="Cti_Client1100504.CAB#version=1,0,0,8"></OBJECT><br><a href="javascript:m_坐席登陸('192.16
Time of Update: 2018-12-07
void CPCBGUIView::OnDraw(CDC* pDC){ //CPCBGUIDoc* pDoc = GetDocument(); //ASSERT_VALID(pDoc); //if (!pDoc) // return; CDC m_pMemDC; CBitmap m_pBitmap; CRect rect; GetClientRect(rect); int x=rect.Width(); int
Time of Update: 2018-12-07
在所用的主題的路徑下 \themes\ClassicSugar\layout_utils.php function get_module_title ($module, $module_title, $show_help) 這個方法中 注釋掉下面的代碼 //if ($show_help) { // // $the_title .= "<td valign='top' align='right' nowrap style='padding-top: