CCS Builder Using BootSstrap

CodeCharge Studio 2.x, 3.x, 4.x, 5.x
回覆文章
yehlu
Site Admin
文章: 3245
註冊時間: 2004-04-15 17:20:21
來自: CodeCharge Support Engineer

CCS Builder Using BootSstrap

文章 yehlu »

1.copy Templates

2.copy Designs

3.copy Styles

4.Remove Styles/Replace chose None

5.首頁
A.拷貝 HTML
B.事件 Page BeforeInitialize
導向
Response.Redirect("customers_list.aspx");
header("location:xxx.php");

6.引入頁 MenuIncludablePage
A.建立Panel1
B.拷貝 HTML (會自動拷貝D事件)
C.加入選單連結,並在HTML用<li></li>包住,
登出放在最右側的<ul class="nav navbar-nav navbar-right">中
D.加入事件 Panel1 Before Show Action Hide-Show Component
Action:Hide
Condition Type:Parameter
Compare As:Text
Condtion:Equal
Parameter1
Name:ViewMode
Soure Type:URL
Parameter2
Name:"Print"
Soure Type:Expression

7.建立新頁面,輸入名稱後要選套用Design
A.加上 Panel Head 的HTML

<script language="JavaScript" type="text/javascript">
//Begin CCS script
//Include Common JSFunctions @1-65835CB2
</script>
<script type="text/javascript" charset="utf-8" src='ClientI18N.php?file=globalize.js&locale={res:CCS_LocaleID}'></script>
<script type="text/javascript">
//End Include Common JSFunctions

//Include User Scripts @1-A87AC9EE
</script>
{page:scriptIncludes}
<script type="text/javascript">
//End Include User Scripts

//End CCS script
</script>

B.在menu 的Panel 加入 include_page:MenuIncludablePage
C.在Content 的Panel 加入 Search 及 Grid
Layout 要選 BootstrapSearch
Layout 要選 BootstrapTabular
回覆文章

回到「CodeCharge Studio」